C# 클래스 SIL.FieldWorks.FwCoreDlgs.ValidCharactersDlg.ValidCharGridsManager

상속: IDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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.

메소드 상세

AddCharacter() 보호된 메소드

Adds the specified character to the list of valid characters.
protected AddCharacter ( string chr ) : void
chr string
리턴 void

AddCharacter() 보호된 메소드

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
리턴 void

Dispose() 공개 메소드

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
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool fDisposing ) : void
fDisposing bool
리턴 void

MoveSelectedChars() 공개 메소드

Moves the selected characters from the current grid to the opposing grid.
public MoveSelectedChars ( ) : CharacterGrid
리턴 CharacterGrid

ValidCharGridsManager() 공개 메소드

Constructs a new instance of the ValidCharGridsManager class.
public ValidCharGridsManager ( ) : System
리턴 System