C# Class SIL.FieldWorks.Discourse.AdvancedMTDialog

A dialog class for marking SOME of the text in a CChart cell as pre/postposed from the same or different rows of the chart. The logic is in a separate class.
Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
AdvancedMTDialog System
InitLogicAndDialog void
InitializeComponent void
SetCaption void
SetColumns void
SetMainText void
SetPartialText void
SetRows void
m_OkButton_Click void
m_cancelButton_Click void
m_helpButton_Click void
m_rowsCombo_SelectedIndexChanged void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AdvancedMTDialog ( SIL.FieldWorks.FDO.FdoCache cache, bool fPrepose, CChartSentenceElements ccSentElem, IHelpTopicProvider helpTopicProvidor ) : System
InitLogicAndDialog ( ) : void
InitializeComponent ( ) : void

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

SetCaption ( string label ) : void

Sets the dialog box caption

SetColumns ( ColumnMenuItem items ) : void

Sets the dialog combobox for columns according to what the logic filled in the parameter object. Also selects the first column as selected initially, since we have no idea what might be wanted.

SetMainText ( string label ) : void

Sets the main text of the dialog box.

SetPartialText ( string label ) : void

Sets the second text box of the dialog box (explains choosing part of a cell for moved text).

SetRows ( IConstChartRow items ) : void
m_OkButton_Click ( object sender, EventArgs e ) : void
m_cancelButton_Click ( object sender, EventArgs e ) : void
m_helpButton_Click ( object sender, EventArgs e ) : void

Display AnotherClause dialog help here.

m_rowsCombo_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void