C# Class SIL.FieldWorks.IText.EditMorphBreaksDlg

The EditMorphBreaks dialog allows the user to edit the morph breaks in a word. It is better for this purpose than just using the combobox's edit box because it has a much bigger edit box, and it displays some helpful (?) information to assist in marking the morpheme types.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Mostrar archivo 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.

EditMorphBreaksDlg ( IHelpTopicProvider helpTopicProvider ) : System
GetMorphs ( ) : string

Retrieve the morph-broken word.

Initialize ( ITsString tssWord, string sMorphs, ILgWritingSystemFactory wsf, SIL.FieldWorks.FDO.FdoCache cache, StringTable stringTable, IVwStylesheet stylesheet ) : void

This sets the original wordform and morph-broken word into the dialog.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ButtonHelpClick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

MBtnCancelClick ( object sender, EventArgs e ) : void
MBtnOkClick ( object sender, EventArgs e ) : void
MorphBreakHelperClick ( object sender, EventArgs 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

EditMorphBreaksDlg() public method

public EditMorphBreaksDlg ( IHelpTopicProvider helpTopicProvider ) : System
helpTopicProvider IHelpTopicProvider
return System

GetMorphs() public method

Retrieve the morph-broken word.
public GetMorphs ( ) : string
return string

Initialize() public method

This sets the original wordform and morph-broken word into the dialog.
public Initialize ( ITsString tssWord, string sMorphs, ILgWritingSystemFactory wsf, SIL.FieldWorks.FDO.FdoCache cache, StringTable stringTable, IVwStylesheet stylesheet ) : void
tssWord ITsString
sMorphs string
wsf ILgWritingSystemFactory
cache SIL.FieldWorks.FDO.FdoCache
stringTable StringTable
stylesheet IVwStylesheet
return void