C# Class SIL.FieldWorks.FwCoreDlgs.ConverterTest

ConverterTest class.
Inheritance: System.Windows.Forms.UserControl, IFWDisposable
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ConverterTest ( ) : System

DoFileConvert ( IEncConverter ec, string inputFilename ) : void

Convert a file and display it in the window

SelectMapping ( string mapname ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConvertOneLine ( IEncConverter ec, string input ) : string

Convert one line of text for display

ConverterTest_Load ( object sender, System e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InputArgsChanged ( ) : void

The input conditions for convert changed. Clear the output window and figure whether the button should be enabled.

convertButton_Click ( object sender, System e ) : void
outputFontCombo_SelectedIndexChanged ( object sender, System e ) : void
saveFileButton_Click ( object sender, System e ) : void

Handle clicking the save file button. Save the converted contents to a file.

selectFileButton_Click ( object sender, System e ) : void

Method Details

CheckDisposed() public method

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
return void

ConverterTest() public method

public ConverterTest ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

DoFileConvert() public method

Convert a file and display it in the window
public DoFileConvert ( IEncConverter ec, string inputFilename ) : void
ec IEncConverter
inputFilename string
return void

SelectMapping() public method

public SelectMapping ( string mapname ) : void
mapname string
return void