C# Class SIL.FieldWorks.IText.ConfigureInterlinDialog

Summary description for ConfigureInterlinDialog.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
DrawItem void
EnableControls void
GetBrush System.Drawing.Brush
InitCurrentList void
InitCurrentList void
InitPossibilitiesList void
InitializeComponent void
UpdateWsComboValue void
WsComboItems System.Windows.Forms.ComboBox.ObjectCollection
WsComboItemsInternal System.Windows.Forms.ComboBox.ObjectCollection
addButton_Click void
currentList_DrawColumnHeader void
currentList_DrawItem void
currentList_SelectedIndexChanged void
getWsFromId int
helpButton_Click void
moveDownButton_Click void
moveUpButton_Click void
optionsList_DrawItem void
optionsList_SelectedIndexChanged void
removeButton_Click void
wsCombo_SelectedIndexChanged void

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.

ConfigureInterlinDialog ( SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider, SIL.FieldWorks.IText.InterlinLineChoices choices ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DrawItem ( System e, SIL.FieldWorks.IText.InterlinLineSpec spec ) : void
EnableControls ( ) : void

Set all controls to appropriate states for the current list selections.

GetBrush ( SIL.FieldWorks.IText.InterlinLineSpec spec, bool selected ) : Brush
InitCurrentList ( SIL.FieldWorks.IText.InterlinLineSpec spec ) : void
InitCurrentList ( int index ) : void

(re)initialize the current list to correspond to the items in m_choices. This will destroy the selection, and then try to select the indicated line.

InitPossibilitiesList ( ) : void
InitializeComponent ( ) : void

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

UpdateWsComboValue ( ) : void
WsComboItems ( ColumnConfigureDialog comboContent ) : ComboBox.ObjectCollection

This is used to create an object collection with the appropriate writing system choices to be used in wsCombo. The reason it is cached is because list generation will require looping through each kind of combo box several times.

WsComboItemsInternal ( SIL.FieldWorks.FDO.FdoCache cache, ComboBox owner, ComboBox.ObjectCollection>.Dictionary cachedBoxes, ColumnConfigureDialog comboContent ) : ComboBox.ObjectCollection

This is used to create an object collection with the appropriate writing system choices to be used in wsCombo. The reason it is cached is because list generation will require looping through each kind of combo box several times. This version is visible to InterlinDocRootSiteBase for its context menu.

addButton_Click ( object sender, System e ) : void
currentList_DrawColumnHeader ( object sender, DrawListViewColumnHeaderEventArgs e ) : void

Owner draw requires drawing the column header as well as the list items. See LT-7007.

currentList_DrawItem ( object sender, DrawListViewItemEventArgs e ) : void
currentList_SelectedIndexChanged ( object sender, EventArgs e ) : void
getWsFromId ( string id ) : int
helpButton_Click ( object sender, System e ) : void
moveDownButton_Click ( object sender, System e ) : void
moveUpButton_Click ( object sender, System e ) : void
optionsList_DrawItem ( object sender, System e ) : void
optionsList_SelectedIndexChanged ( object sender, EventArgs e ) : void
removeButton_Click ( object sender, System e ) : void
wsCombo_SelectedIndexChanged ( 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

ConfigureInterlinDialog() public method

public ConfigureInterlinDialog ( SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider, SIL.FieldWorks.IText.InterlinLineChoices choices ) : System
cache SIL.FieldWorks.FDO.FdoCache
helpTopicProvider IHelpTopicProvider
choices SIL.FieldWorks.IText.InterlinLineChoices
return System

Dispose() protected method

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