C# 클래스 SIL.FieldWorks.TE.TeEditorialChecks.CheckRenderingControl

상속: System.Windows.Forms.UserControl, ISelectableView, IChecksViewWrapperView, IVwNotifyChange, IMessageFilter
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_cache SIL.FieldWorks.FDO.FdoCache
m_gridSorter CheckGridListSorter
m_list List
m_mainWnd SIL.FieldWorks.Common.Framework.FwMainWnd
m_persistence SIL.FieldWorks.Common.Controls.Persistence
m_prevResultRow int
m_prevStatusBarText string
m_sortedColumn System.Windows.Forms.DataGridViewColumn
m_tsStrComparer SIL.FieldWorks.Common.COMInterfaces.TsStringComparer
m_userChangedColumnWidth bool

공개 메소드들

메소드 설명
ActivateView ( ) : void

CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

This method is thread safe.

CheckRenderingControl ( SIL.FieldWorks.FDO.FdoCache cache, FwMainWnd mainWnd ) : System

DeactivateView ( ) : void

PreFilterMessage ( Message &m ) : bool

If the user presses Alt-Down or Alt-Up, then we want to change the selected row in the grid to the previous or next.

PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void

SetColWidthsFromReg ( RegistryKey key ) : void

Sets the grid's column widths by reading their saved values from the registry.

보호된 메소드들

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

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

GetPreSortRow ( ) : object

This method should be overridden.

GetRegSettingColName ( System.Windows.Forms.DataGridViewColumn col, bool forFillWeight ) : string

OnHandleCreated ( EventArgs e ) : void

OnLoadSettings ( RegistryKey key ) : void

RestorePreSortRow ( object restoreRow ) : void

This method should be overridden.

SetColOrderFromReg ( RegistryKey key ) : void

Sort ( System.Windows.Forms.DataGridViewColumn column, bool toggleDirection, int defaultSortCol ) : void

Sorts the specified column.

비공개 메소드들

메소드 설명
ChangeZoomPercent ( float oldFactor, float newFactor ) : void
HandleRenderingGridSizeChanged ( object sender, EventArgs e ) : void

This delegate is necessary because when the OnLoadSettings method is called, the rendering grid has no width, and because columns in the rendering grid may have an AutoSizeMode of fill, their widths should not be set from the registry until the grid has it's full width. Therefore, this delegate will keep checking the current width of the grid with the width of the grid as it was last saved in the registry. When the two are equal, then this method will call the method to set all the column widths to those saved in the registry. I know, this is sort of kludgy, but this is yet one more limitation in the .Net framework I don't know how else to work around. -- DDO

HandleZoomPercentageChanged ( object sender, ZoomPercentageChangedEventArgs e ) : void

Called when the zoom percentage changed.

OnSaveSettings ( RegistryKey key ) : void

메소드 상세

ActivateView() 공개 메소드

public ActivateView ( ) : void
리턴 void

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
This method is thread safe.
public CheckDisposed ( ) : void
리턴 void

CheckRenderingControl() 공개 메소드

public CheckRenderingControl ( SIL.FieldWorks.FDO.FdoCache cache, FwMainWnd mainWnd ) : System
cache SIL.FieldWorks.FDO.FdoCache
mainWnd SIL.FieldWorks.Common.Framework.FwMainWnd
리턴 System

DeactivateView() 공개 메소드

public DeactivateView ( ) : void
리턴 void

Dispose() 보호된 메소드

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.
If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

GetPreSortRow() 보호된 메소드

This method should be overridden.
protected GetPreSortRow ( ) : object
리턴 object

GetRegSettingColName() 보호된 정적인 메소드

protected static GetRegSettingColName ( System.Windows.Forms.DataGridViewColumn col, bool forFillWeight ) : string
col System.Windows.Forms.DataGridViewColumn
forFillWeight bool
리턴 string

OnHandleCreated() 보호된 메소드

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoadSettings() 보호된 메소드

protected OnLoadSettings ( RegistryKey key ) : void
key Microsoft.Win32.RegistryKey
리턴 void

PreFilterMessage() 공개 메소드

If the user presses Alt-Down or Alt-Up, then we want to change the selected row in the grid to the previous or next.
public PreFilterMessage ( Message &m ) : bool
m System.Windows.Forms.Message
리턴 bool

PropChanged() 공개 메소드

public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
hvo int
tag int
ivMin int
cvIns int
cvDel int
리턴 void

RestorePreSortRow() 보호된 메소드

This method should be overridden.
protected RestorePreSortRow ( object restoreRow ) : void
restoreRow object
리턴 void

SetColOrderFromReg() 보호된 메소드

protected SetColOrderFromReg ( RegistryKey key ) : void
key Microsoft.Win32.RegistryKey
리턴 void

SetColWidthsFromReg() 공개 메소드

Sets the grid's column widths by reading their saved values from the registry.
public SetColWidthsFromReg ( RegistryKey key ) : void
key Microsoft.Win32.RegistryKey
리턴 void

Sort() 보호된 메소드

Sorts the specified column.
protected Sort ( System.Windows.Forms.DataGridViewColumn column, bool toggleDirection, int defaultSortCol ) : void
column System.Windows.Forms.DataGridViewColumn The column on which to sort. When this is the column that /// is already the sorted column, then use toggleDirection to specify whether or /// not the column should be sorted in reverse order.
toggleDirection bool true to toggle the sort direction when column is /// already the current sort column. Otherwise, false. When column is not the current /// sort column, then this flag is ignored. ///
defaultSortCol int The index of the column to sort on when there /// isn't any sort information that can be read from the registry.
리턴 void

프로퍼티 상세

m_cache 보호되어 있는 프로퍼티

protected FdoCache,SIL.FieldWorks.FDO m_cache
리턴 SIL.FieldWorks.FDO.FdoCache

m_gridSorter 보호되어 있는 프로퍼티

protected CheckGridListSorter,SIL.FieldWorks.TE.TeEditorialChecks m_gridSorter
리턴 CheckGridListSorter

m_list 보호되어 있는 프로퍼티

protected List m_list
리턴 List

m_mainWnd 보호되어 있는 프로퍼티

protected FwMainWnd,SIL.FieldWorks.Common.Framework m_mainWnd
리턴 SIL.FieldWorks.Common.Framework.FwMainWnd

m_persistence 보호되어 있는 프로퍼티

protected Persistence,SIL.FieldWorks.Common.Controls m_persistence
리턴 SIL.FieldWorks.Common.Controls.Persistence

m_prevResultRow 보호되어 있는 프로퍼티

protected int m_prevResultRow
리턴 int

m_prevStatusBarText 보호되어 있는 프로퍼티

protected string m_prevStatusBarText
리턴 string

m_sortedColumn 보호되어 있는 프로퍼티

protected DataGridViewColumn,System.Windows.Forms m_sortedColumn
리턴 System.Windows.Forms.DataGridViewColumn

m_tsStrComparer 보호되어 있는 프로퍼티

protected TsStringComparer,SIL.FieldWorks.Common.COMInterfaces m_tsStrComparer
리턴 SIL.FieldWorks.Common.COMInterfaces.TsStringComparer

m_userChangedColumnWidth 보호되어 있는 프로퍼티

protected bool m_userChangedColumnWidth
리턴 bool