C# Class SIL.FieldWorks.FwCoreDlgs.ValidCharactersDlg.ValidCharGridsManager

Inheritance: IDisposable
Afficher le fichier Open project: sillsdev/FieldWorks

Private Properties

Свойство Type Description
AddCharacters void
AreSelectedCharsOther bool
DrawWordFormingGridCellBackground void
HandleCellFormatting void
HandleCharGridCellMouseClick void
HandleCharGridSelectionChanged void
HandleGridCellPainting void
HandleGridEnter void
HandleRemoveClick void
HandleTreatAsClick void
Init void
LoadException void
RefreshCharacterGrids void
Reset void
Save void

Méthodes publiques

Méthode Description
Dispose ( ) : void

Releases the unmanaged resources used by the T:System.Windows.Forms.Control and its child controls and optionally releases the managed resources.

MoveSelectedChars ( ) : CharacterGrid

Moves the selected characters from the current grid to the opposing grid.

ValidCharGridsManager ( ) : System

Constructs a new instance of the ValidCharGridsManager class.

Méthodes protégées

Méthode Description
AddCharacter ( string chr ) : void

Adds the specified character to the list of valid characters.

AddCharacter ( string chr, ValidCharacterType type, bool makeReceivingGridCurrent ) : void

Adds the specified character to the list of valid characters.

Dispose ( bool fDisposing ) : void

Private Methods

Méthode Description
AddCharacters ( List chrs ) : void

Adds the list of characters to the list of valid characters.

AreSelectedCharsOther ( SIL.FieldWorks.Common.Controls.CharacterGrid grid ) : bool

Determines whether or not all the selected characters in the specified grid fall into the category of punctuation or symbol characters.

DrawWordFormingGridCellBackground ( System.Windows.Forms.DataGridViewCellPaintingEventArgs e ) : void

Draws the word forming grid cell's background when it's character represents a word-forming override character.

HandleCellFormatting ( object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e ) : void

Handles the cell formatting.

HandleCharGridCellMouseClick ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

Display a context menu when the user clicks on one of the valid character grids.

HandleCharGridSelectionChanged ( object sender, EventArgs e ) : void

Handles the selection changed event for the word forming and other grids.

HandleGridCellPainting ( object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e ) : void

Paint the background of word-forming override characters differently from all the other characters.

HandleGridEnter ( object sender, EventArgs e ) : void

Handles the grid enter.

HandleRemoveClick ( object sender, EventArgs e ) : void

Handles the Click event of the remove context menu or Remove button.

HandleTreatAsClick ( object sender, EventArgs e ) : void
Init ( SIL.FieldWorks.Common.Controls.CharacterGrid gridWf, SIL.FieldWorks.Common.Controls.CharacterGrid gridOther, SIL.FieldWorks.Common.Controls.CharacterGrid gridNum, IWritingSystem ws, IApp app ) : void

Initializes the valid characters explorer bar with three valid character grids.

LoadException ( ArgumentException e ) : void

Reports a load exception in the scrDataSource.

RefreshCharacterGrids ( ValidCharacterType type ) : void

Adds the specified valid character to one of the valid character grids.

Reset ( ) : void

Clears all the valid characters.

Save ( ) : void

Updates the language definition's PUA chars and valid characters.

Method Details

AddCharacter() protected méthode

Adds the specified character to the list of valid characters.
protected AddCharacter ( string chr ) : void
chr string
Résultat void

AddCharacter() protected méthode

Adds the specified character to the list of valid characters.
protected AddCharacter ( string chr, ValidCharacterType type, bool makeReceivingGridCurrent ) : void
chr string
type ValidCharacterType
makeReceivingGridCurrent bool
Résultat void

Dispose() public méthode

Releases the unmanaged resources used by the T:System.Windows.Forms.Control and its child controls and optionally releases the managed resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool fDisposing ) : void
fDisposing bool
Résultat void

MoveSelectedChars() public méthode

Moves the selected characters from the current grid to the opposing grid.
public MoveSelectedChars ( ) : CharacterGrid
Résultat CharacterGrid

ValidCharGridsManager() public méthode

Constructs a new instance of the ValidCharGridsManager class.
public ValidCharGridsManager ( ) : System
Résultat System