C# 클래스 SIL.FieldWorks.TE.KeyTermRenderingsControl

파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetColumnFromPropertyName DataGridViewColumn
GetKeyTermRef SIL.FieldWorks.TE.KeyTermRef
GetKeyTermRef int
KeyTermRenderingsControl System
OnKeyTermRefPropertyChanged void
OnReferenceChanged void
PopulateKeyTermRefs void
m_dataGridView_ColumnHeaderMouseClick void
m_dataGridView_RowEnter void

공개 메소드들

메소드 설명
KeyTermRenderingsControl ( FdoCache cache, FwMainWnd mainWnd ) : System

Initializes a new instance of the T:KeyTermRenderingsControl class.

LoadRenderingsForKeyTerm ( IChkTerm chkTerm, List filteredBookIds ) : void

Build a list of the KeyTermRef objects that will be displayed in the key terms rendering grid.

SelectKeyTermRef ( Guid guid ) : void

Selects the key term reference in the grid to the one whose guid is the same as that specified. If the specified guid cannot be found, then the first key term reference in the grid is selected.

보호된 메소드들

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

Clean up any resources being used.

GetPreSortRow ( ) : object

Return the guid of the current row.

OnLoadSettings ( Microsoft key ) : void

OnSaveSettings ( Microsoft key ) : void

RestorePreSortRow ( object restoreRow ) : void

Use the supplied information to set the current key terms ref. row.

비공개 메소드들

메소드 설명
GetColumnFromPropertyName ( string propertyName ) : DataGridViewColumn

Gets the column that displays the given property.

GetKeyTermRef ( int rowIndex ) : SIL.FieldWorks.TE.KeyTermRef

Gets the key term reference for the specified row.

GetKeyTermRef ( Guid guid ) : int

Gets the index of the key term reference for the specified guid. If a key term reference for the guid cannot be found, then -1 is returned.

KeyTermRenderingsControl ( ) : System

Initializes a new instance of the T:KeyTermRenderingsControl class.

OnKeyTermRefPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Called when the a property of a KeyTermRef changed.

OnReferenceChanged ( int iRow ) : void

Raises the ReferenceChanged event.

PopulateKeyTermRefs ( IChkTerm keyTerm, List filteredBookIds ) : void

Recursively populate a list with key term references

m_dataGridView_ColumnHeaderMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void
m_dataGridView_RowEnter ( object sender, DataGridViewCellEventArgs e ) : void

Handles the RowEnter event of the m_dataGridView control.

메소드 상세

Dispose() 보호된 메소드

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

GetPreSortRow() 보호된 메소드

Return the guid of the current row.
protected GetPreSortRow ( ) : object
리턴 object

KeyTermRenderingsControl() 공개 메소드

Initializes a new instance of the T:KeyTermRenderingsControl class.
public KeyTermRenderingsControl ( FdoCache cache, FwMainWnd mainWnd ) : System
cache FdoCache The cache.
mainWnd FwMainWnd the FwMainWnd that owns this control.
리턴 System

LoadRenderingsForKeyTerm() 공개 메소드

Build a list of the KeyTermRef objects that will be displayed in the key terms rendering grid.
public LoadRenderingsForKeyTerm ( IChkTerm chkTerm, List filteredBookIds ) : void
chkTerm IChkTerm The term node to get references for. This could be the /// category node, in which case we just clear the list.
filteredBookIds List list of book ids that are in the current filter. /// If null, then filtering is not on and all references should be included
리턴 void

OnLoadSettings() 보호된 메소드

protected OnLoadSettings ( Microsoft key ) : void
key Microsoft
리턴 void

OnSaveSettings() 보호된 메소드

protected OnSaveSettings ( Microsoft key ) : void
key Microsoft
리턴 void

RestorePreSortRow() 보호된 메소드

Use the supplied information to set the current key terms ref. row.
protected RestorePreSortRow ( object restoreRow ) : void
restoreRow object
리턴 void

SelectKeyTermRef() 공개 메소드

Selects the key term reference in the grid to the one whose guid is the same as that specified. If the specified guid cannot be found, then the first key term reference in the grid is selected.
public SelectKeyTermRef ( Guid guid ) : void
guid Guid
리턴 void