Property | Type | Description | |
---|---|---|---|
m_validCharsGridMngr | ValidCharGridsManager |
Method | Description | |
---|---|---|
RunDialog ( FdoCache cache, IApp app, IWin32Window owner, IHelpTopicProvider helpTopicProvider ) : bool |
Display the valid characters dialog box. Return true if OK was chosen.
|
|
ValidCharactersDlg ( ) : System |
Initializes a new instance of the ValidCharactersDlg class.
|
Method | Description | |
---|---|---|
AddSingleCharacter ( FwTextBox txt ) : void |
Adds a single character to the list of valid characters.
|
|
CreateValidCharGridsManager ( ) : ValidCharGridsManager |
Creates a new ValidCharGridsManager. This method is here so we can override it in tests.
|
|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
GetCharacterType ( string chr ) : ValidCharacterType |
If the specified character is defined as a PUA character in m_langDef, returns its character type; otherwise, returns a value that indicates whether it is a valid character as defined by the Unicode Standard.
|
|
IssueBeep ( ) : void |
Issues a warning beep when the user performs an illegal operation.
|
|
OnClosed ( EventArgs e ) : void |
Raises the E:System.Windows.Forms.Form.Closed event.
|
|
OnClosing ( CancelEventArgs e ) : void |
|
|
OnLoad ( EventArgs e ) : void |
Handles the Load event of the ValidCharactersDlg control.
|
|
ShowMessageBox ( string message ) : void |
Shows a message box to warn the user about an invalid operation.
|
Method | Description | |
---|---|---|
AddExemplarChars ( string IcuLocale ) : void |
Try to retrieve a set of ValidChars (ExemplarCharacters) from ICU for the language associated with the IcuLocale parameter and add those to the valid characters grids.
|
|
AddRangeOfCharacters ( ) : void |
Adds a range of characters to the valid characters list.
|
|
BasedOnRadioButton_CheckedChanged ( object sender, |
Handles the CheckedChanged event of the radio button controls on the Based On tab.
|
|
FillInventoryGrid ( List |
Fills the inventory grid.
|
|
HandleCharGridCharacterChanged ( SIL.FieldWorks.Common.Controls.CharacterGrid grid, string newCharacter ) : void |
Event fired when the current character changes in one of the grids.
|
|
HandleCharGridGotFocus ( object sender, |
Handles the event fired when one of the character grids gains focus.
|
|
HandleCharGridSelChange ( object sender, |
Handles the event fired when one of the character grids gains focus.
|
|
HandleCharTextBoxEnter ( object sender, |
Handles the Enter event of the txtManualCharEntry control.
|
|
HandleCharTextBoxLeave ( object sender, |
Handles the Enter event of the txtManualCharEntry control.
|
|
HandleCheckedChanged ( object sender, |
Handle selecting one of the options on the manual entry tab
|
|
HandleTreatAsClick ( object sender, |
Handles the Click event of the btnTreatAsPunct control.
|
|
InitializeComponent ( ) : void | ||
InventoryCharCodeComparer ( CharacterInventoryRow x, CharacterInventoryRow y ) : int |
Compares character inventory rows on the character codes field.
|
|
InventoryCharComparer ( CharacterInventoryRow x, CharacterInventoryRow y ) : int |
Compares character inventory rows on the character field.
|
|
InventoryCountComparer ( CharacterInventoryRow x, CharacterInventoryRow y ) : int |
Compares character inventory rows on the count field.
|
|
InventoryIsValidComparer ( CharacterInventoryRow x, CharacterInventoryRow y ) : int |
Compares character inventory rows on the IsValid field.
|
|
RemoveInvalidCharacters ( List |
Removes the invalid characters.
|
|
SortInventoryGrid ( ) : void |
Sorts the inventory grid column that has the sort glyph.
|
|
UpdateTreatAsButtons ( ) : void |
Updates the enabled state of the "treat as..." buttons.
|
|
ValidCharactersDlg ( FdoCache cache, IWritingSystemContainer wsContainer, IHelpTopicProvider helpTopicProvider, IApp app, IWritingSystem ws, string wsName ) : System | ||
VerifyCharInRange ( FwTextBox textbox, Label lbl ) : void |
Verifies the contents of the text box is a base character.
|
|
btnAddCharacters_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnAddCharacters control.
|
|
btnBrowseLangFile_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnBrowseLangFile control.
|
|
btnHelp_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnHelp control.
|
|
btnOk_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnOk control.
|
|
btnRemoveAll_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnRemoveAll control.
|
|
btnRemoveChar_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the btnRemoveChar control.
|
|
btnSimilarWs_LocaleSelected ( object sender, EventArgs e ) : void |
When btnSimilarWs.LocaleSelected is set to None we need to diable Add button.
|
|
contextCtrl_GetContextInfo ( int index, string &sKey, string &sConcordanceItem ) : void |
Gets the context info for the given row in the context control.
|
|
contextCtrl_TextTokenSubStringsLoaded ( List |
|
|
gridCharInventory_CellFormatting ( object sender, DataGridViewCellFormattingEventArgs e ) : void | ||
gridCharInventory_CellPainting ( object sender, DataGridViewCellPaintingEventArgs e ) : void |
Get rid of the cell's focus rectangle.
|
|
gridCharInventory_CellValueNeeded ( object sender, DataGridViewCellValueEventArgs e ) : void |
|
|
gridCharInventory_CellValuePushed ( object sender, DataGridViewCellValueEventArgs e ) : void |
|
|
gridCharInventory_ColumnHeaderMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void |
Handles the ColumnHeaderMouseClick event of the gridCharInventory control.
|
|
rdoSimilarWs_TextChanged ( object sender, EventArgs e ) : void |
Handles the TextChanged event of the rdoSimilarWs control.
|
|
tabControlAddFrom_SelectedIndexChanged ( object sender, EventArgs e ) : void |
Sets the enabled state of the add button.
|
|
tabCtrlAddFrom_ClientSizeChanged ( object sender, EventArgs e ) : void |
|
|
txtFirstChar_TextChanged ( object sender, EventArgs e ) : void |
|
|
txtLanguageFile_Enter ( object sender, EventArgs e ) : void |
Handles the Enter event of the txtLanguageFile control.
|
|
txtLastChar_TextChanged ( object sender, EventArgs e ) : void |
|
|
txtManualCharEntry_TextChanged ( object sender, EventArgs e ) : void |
Handles the TextChanged event of the txtManualCharEntry control.
|
|
txtUnicodeValue_KeyPress ( object sender, KeyPressEventArgs e ) : void |
Make sure only hex digits are allowed in the txtUnicodeValue text box.
|
|
txtUnicodeValue_TextChanged ( object sender, EventArgs e ) : void |
Handles the TextChanged event of the txtUnicodeValue control.
|
protected AddSingleCharacter ( FwTextBox txt ) : void | ||
txt | FwTextBox | |
return | void |
protected CreateValidCharGridsManager ( ) : ValidCharGridsManager | ||
return | ValidCharGridsManager |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected GetCharacterType ( string chr ) : ValidCharacterType | ||
chr | string | The character (may consist of more than one Unicode codepoint. |
return | ValidCharacterType |
protected OnClosed ( EventArgs e ) : void | ||
e | EventArgs | The |
return | void |
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
return | void |
public static RunDialog ( FdoCache cache, IApp app, IWin32Window owner, IHelpTopicProvider helpTopicProvider ) : bool | ||
cache | FdoCache | |
app | IApp | |
owner | IWin32Window | |
helpTopicProvider | IHelpTopicProvider | |
return | bool |
protected ShowMessageBox ( string message ) : void | ||
message | string | The message for the user. |
return | void |