C# Class SIL.FieldWorks.Common.Controls.IntChooserBEditControl

Inheritance: BulkEditSpecControl, IGetReplacedObjects
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_combo System.Windows.Forms.ComboBox
m_flid int

Public Methods

Method Description
DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
IntChooserBEditControl ( string itemList, int flid ) : System

Initialized with a string like "0:no;1:yes".

IntChooserBEditControl ( string itemList, int flid, int initialIndexToSelect ) : System

Initialized with a list of strings; first signifies 0, next 1, etc.

SetClearField ( ) : void

Protected Methods

Method Description
FixSpellingStatus ( int hvoItem, int val ) : void
GetBasicPropertyValue ( ISilDataAccess sda, int hvoOwner ) : int
SetBasicPropertyValue ( ISilDataAccess sda, int newVal, int hvoOwner ) : void
TryGetOriginalListValue ( ISilDataAccess sda, int hvoItem, int &value ) : bool
UpdateListItemToNewValue ( ISilDataAccess sda, int hvoItem, int newVal, int oldVal ) : void
m_combo_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

DoIt() public method

public DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
state SIL.FieldWorks.Common.Controls.ProgressState
return void

FakeDoit() public method

public FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
tagFakeFlid int
tagEnabled int
state SIL.FieldWorks.Common.Controls.ProgressState
return void

FixSpellingStatus() protected method

protected FixSpellingStatus ( int hvoItem, int val ) : void
hvoItem int
val int
return void

GetBasicPropertyValue() protected method

protected GetBasicPropertyValue ( ISilDataAccess sda, int hvoOwner ) : int
sda ISilDataAccess
hvoOwner int
return int

IntChooserBEditControl() public method

Initialized with a string like "0:no;1:yes".
public IntChooserBEditControl ( string itemList, int flid ) : System
itemList string The item list.
flid int The flid.
return System

IntChooserBEditControl() public method

Initialized with a list of strings; first signifies 0, next 1, etc.
public IntChooserBEditControl ( string itemList, int flid, int initialIndexToSelect ) : System
itemList string
flid int
initialIndexToSelect int Index of one of the items in the combo box, the most useful choice that should /// initially be selected. Comes from defaultBulkEditChoice attribute on [column] element in XML spec. Default 0.
return System

SetBasicPropertyValue() protected method

protected SetBasicPropertyValue ( ISilDataAccess sda, int newVal, int hvoOwner ) : void
sda ISilDataAccess
newVal int
hvoOwner int
return void

SetClearField() public method

public SetClearField ( ) : void
return void

TryGetOriginalListValue() protected method

protected TryGetOriginalListValue ( ISilDataAccess sda, int hvoItem, int &value ) : bool
sda ISilDataAccess
hvoItem int
value int
return bool

UpdateListItemToNewValue() protected method

protected UpdateListItemToNewValue ( ISilDataAccess sda, int hvoItem, int newVal, int oldVal ) : void
sda ISilDataAccess
hvoItem int
newVal int
oldVal int
return void

m_combo_SelectedIndexChanged() protected method

protected m_combo_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

m_combo protected property

protected ComboBox,System.Windows.Forms m_combo
return System.Windows.Forms.ComboBox

m_flid protected property

protected int m_flid
return int