C# 클래스 SIL.FieldWorks.FwCoreDlgs.CharContextCtrl

Class to support displaying the context(s) for a character string.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AdjustContextGridColumnWidths void
CreateScrCharInventoryBldr IScrCheckInventory
GetTokenSubstrings List
GetTokensSubStrings void
HandleRowHeightInfoNeeded void
InitializeComponent void
LoadException void
NormalizeFileData void
ReadFile List
ReadTEScripture List
btnScan_Click void
cmnuScanFile_Click void
cmnuScanScripture_Click void
gridContext_CellPainting void
gridContext_CellValueNeeded void
gridContext_ClientSizeChanged void
m_tokenGrid_RowEnter void
scrDataSource_LoadException void

공개 메소드들

메소드 설명
AddContextInfo ( ContextInfo contextInfo ) : void

CharContextCtrl ( ) : System

Creates a new instance of the CharContextCtrl.

Initialize ( SIL.FieldWorks.FDO.FdoCache cache, IWritingSystemContainer wsContainer, IWritingSystem ws, IApp app, Font contextFont, System.Windows.Forms.DataGridView tokenGrid ) : void

Initializes this CharContextCtrl

RefreshContextGrid ( ) : void

ResetContextLists ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AdjustContextGridColumnWidths ( ) : void

Adjusts the column widths in the context grid.

CreateScrCharInventoryBldr ( string checksDll, IChecksDataSource scrDataSource, string checkType ) : IScrCheckInventory
GetTokenSubstrings ( IScrCheckInventory inventory, List tokens ) : List

Gets the token substrings.

GetTokensSubStrings ( string fileName ) : void

Get the text token substrings from the data source and fire the event telling subscribers a list of text tokens is available.

HandleRowHeightInfoNeeded ( object sender, System.Windows.Forms.DataGridViewRowHeightInfoNeededEventArgs e ) : void

Handles the RowHeightInfoNeeded event of the gridCharInventory and gridContext grids.

InitializeComponent ( ) : void
LoadException ( ArgumentException e ) : void

Reports a load exception in the scrDataSource.

NormalizeFileData ( ) : void

Normalizes the strings read from the file into D (compatible decomposed).

ReadFile ( string fileName ) : List

Reads a file for text tokens.

ReadTEScripture ( ) : List

Reads the current TE scripture project.

btnScan_Click ( object sender, EventArgs e ) : void

cmnuScanFile_Click ( object sender, EventArgs e ) : void

cmnuScanScripture_Click ( object sender, EventArgs e ) : void

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

Handles the CellPainting event of the gridContext control.

gridContext_CellValueNeeded ( object sender, System.Windows.Forms.DataGridViewCellValueEventArgs e ) : void

gridContext_ClientSizeChanged ( object sender, EventArgs e ) : void

Adjust the width of the columns so they just fit inside the client area of the grid.

m_tokenGrid_RowEnter ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void

scrDataSource_LoadException ( ArgumentException e ) : void

Reports a load exception in the scrDataSource.

메소드 상세

AddContextInfo() 공개 메소드

public AddContextInfo ( ContextInfo contextInfo ) : void
contextInfo ContextInfo
리턴 void

CharContextCtrl() 공개 메소드

Creates a new instance of the CharContextCtrl.
public CharContextCtrl ( ) : System
리턴 System

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Initialize() 공개 메소드

Initializes this CharContextCtrl
public Initialize ( SIL.FieldWorks.FDO.FdoCache cache, IWritingSystemContainer wsContainer, IWritingSystem ws, IApp app, Font contextFont, System.Windows.Forms.DataGridView tokenGrid ) : void
cache SIL.FieldWorks.FDO.FdoCache The cache.
wsContainer IWritingSystemContainer The writing system container.
ws IWritingSystem The language definition.
app IApp The application.
contextFont System.Drawing.Font The context font.
tokenGrid System.Windows.Forms.DataGridView The token grid.
리턴 void

RefreshContextGrid() 공개 메소드

public RefreshContextGrid ( ) : void
리턴 void

ResetContextLists() 공개 메소드

public ResetContextLists ( ) : void
리턴 void