C# Class SIL.FieldWorks.LexText.Controls.LexImportWizardMarker

Inheritance: System.Windows.Forms.Form, IFWDisposable
显示文件 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.

GetContentMapping ( ) : SIL.FieldWorks.LexText.Controls.MarkerPresenter.ContentMapping
Init ( SIL.FieldWorks.LexText.Controls.MarkerPresenter currentMarker, Hashtable uiLangsHT, SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider, IApp app, IVwStylesheet stylesheet ) : void
LexImportWizardMarker ( ILexImportFields fwFields ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddAbbrAndNameInfo ( IMultiUnicode abbr, IMultiUnicode name, IMultiUnicode reverseAbbr, IMultiUnicode reverseName ) : void
AddCustomFieldsToPossibleFields ( ) : void
EnableControlsFromField ( SIL.FieldWorks.LexText.Controls.LexImportField field ) : void
EnableLangDesc ( bool enable ) : void
FillLexicalRefTypesCombo ( SIL.FieldWorks.LexText.Controls.LexImportField field ) : void
InitBottomPanel ( ) : void
InitializeComponent ( ) : void
LexImportWizardMarker_Load ( object sender, EventArgs e ) : void
ShowInfo ( SIL.FieldWorks.LexText.Controls.LexImportField field ) : void
UpdateOKButtonState ( ) : void

It only makes sense for the user to press ok if they have selected a destination field OR the field is an Auto field or it's to be excluded.

btnAddCustomField_Click ( object sender, EventArgs e ) : void
btnAddLangDesc_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, EventArgs e ) : void
btnShowInfo_Click ( object sender, EventArgs e ) : void
buttonHelp_Click ( object sender, EventArgs e ) : void
cbFunction_SelectedIndexChanged ( object sender, EventArgs e ) : void
chkbxAutoField_CheckedChanged ( object sender, EventArgs e ) : void
chkbxExclude_CheckedChanged ( object sender, EventArgs e ) : void
tvDestination_AfterSelect ( object sender, TreeViewEventArgs e ) : void
tvDestination_BeforeSelect ( object sender, System.Windows.Forms.TreeViewCancelEventArgs 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

Dispose() protected method

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

GetContentMapping() public method

public GetContentMapping ( ) : SIL.FieldWorks.LexText.Controls.MarkerPresenter.ContentMapping
return SIL.FieldWorks.LexText.Controls.MarkerPresenter.ContentMapping

Init() public method

public Init ( SIL.FieldWorks.LexText.Controls.MarkerPresenter currentMarker, Hashtable uiLangsHT, SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider, IApp app, IVwStylesheet stylesheet ) : void
currentMarker SIL.FieldWorks.LexText.Controls.MarkerPresenter
uiLangsHT System.Collections.Hashtable
cache SIL.FieldWorks.FDO.FdoCache
helpTopicProvider IHelpTopicProvider
app IApp
stylesheet IVwStylesheet
return void

LexImportWizardMarker() public method

public LexImportWizardMarker ( ILexImportFields fwFields ) : System
fwFields ILexImportFields
return System