프로퍼티 | 타입 | 설명 | |
---|---|---|---|
btnFind | |||
cboLookup | SIL.FieldWorks.Common.Controls.FwOverrideComboBox | ||
lblOtherNamesList | |||
lvFindResult | |||
m_lastSearchText | string | ||
m_messageFilter | TrapEnterFilter | ||
m_testing | bool | ||
txtFindPattern |
메소드 | 설명 | |
---|---|---|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
|
|
LanguageSetup ( ) : System |
Initializes a new instance of the LanguageSetup class.
|
|
PerformInitialSearch ( string target ) : void |
This is called just before ShowDialog. It sets up the target string as a language name and performs an initial search for this language as the dialog comes up.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
DoInitialSearch ( ) : void |
Do the initial search requested if m_initialTarget has been set.
|
|
LoadList ( string searchText ) : void |
|
|
LoadList ( string searchText, bool fShowErrorMessage ) : void |
Fill the controls based on the current search, and (if requested) display an error message if not found.
|
|
LoadOtherNames ( ) : void |
|
|
OnHandleDestroyed ( |
|
|
OnLoad ( |
Do the initial search when we bring up the control
|
|
SelectClosestMatch ( ) : void |
Select the first exact match in the language column, or if none found, select the first item.
|
|
SettingsForNoLanguage ( ) : void |
Fix the settings for either a search failure or clicking on the "None of the above" item.
|
|
btnFind_Click ( object sender, System e ) : void |
When we get here, it means there was a long enough pause while typing in the search for text box that a search should be kicked off.
|
|
lvFindResult_SelectedIndexChanged ( object sender, |
|
메소드 | 설명 | |
---|---|---|
CompareCountryFirst ( Ethnologue x, Ethnologue y ) : int |
Implements sorting by country name, then by language name.
|
|
CompareEthnoCodeFirst ( Ethnologue x, Ethnologue y ) : int |
Implements sorting by ethnologue code, then by language name, then by country name.
|
|
GetSearchResultSet ( string searchText ) : List |
Get the requested data from the Ethnologue.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
StartFind ( ) : void |
|
|
cboLookup_Enter ( object sender, System e ) : void |
We want to have the focus initially in txtFindPattern. We do it here and then remove the event handler. We can't change the Tab order because then Shift-Tab goes to the Help button instead of "Search for" field (TE-753)
|
|
cboLookup_SelectedIndexChanged ( object sender, System e ) : void |
|
|
lblOtherNamesList_Paint ( object sender, System e ) : void |
|
|
lvFindResult_ColumnClick ( object sender, System.Windows.Forms.ColumnClickEventArgs e ) : void |
|
|
lvFindResult_Enter ( object sender, System e ) : void |
When we enter the list view we have to set the focused item to match the selected item.
|
|
txtCurrentLangName_TextChanged ( object sender, System e ) : void |
|
|
txtFindPattern_Enter ( object sender, System e ) : void |
|
|
txtFindPattern_KeyPress ( object sender, System e ) : void |
|
|
txtFindPattern_Leave ( object sender, System e ) : void |
|
|
txtFindPattern_TextChanged ( object sender, System e ) : void |
Restarts the timer everytime the text box text changes.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
protected LoadList ( string searchText, bool fShowErrorMessage ) : void | ||
searchText | string | |
fShowErrorMessage | bool | |
리턴 | void |
protected OnHandleDestroyed ( |
||
e | ||
리턴 | void |
public PerformInitialSearch ( string target ) : void | ||
target | string | The target. |
리턴 | void |
protected btnFind_Click ( object sender, System e ) : void | ||
sender | object | |
e | System | |
리턴 | void |
protected lvFindResult_SelectedIndexChanged ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
protected FwOverrideComboBox,SIL.FieldWorks.Common.Controls cboLookup | ||
리턴 | SIL.FieldWorks.Common.Controls.FwOverrideComboBox |
protected Label,System.Windows.Forms lblOtherNamesList | ||
리턴 |
protected ListView,System.Windows.Forms lvFindResult | ||
리턴 |