C# 클래스 SIL.FieldWorks.LexText.Controls.BaseGoDlg

Summary description for BaseGoDlg.
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_analHvos HashSet
m_btnClose System.Windows.Forms.Button
m_btnHelp System.Windows.Forms.Button
m_btnInsert System.Windows.Forms.Button
m_btnOK System.Windows.Forms.Button
m_cache SIL.FieldWorks.FDO.FdoCache
m_cbWritingSystems SIL.FieldWorks.Common.Controls.FwOverrideComboBox
m_formLabel Label
m_fwTextBoxBottomMsg FwTextBox
m_hasBeenActivated bool
m_helpProvider HelpProvider
m_helpTopic string
m_helpTopicProvider IHelpTopicProvider
m_matchingObjectsBrowser MatchingObjectsBrowser
m_mediator Mediator
m_objectsLabel Label
m_oldSearchKey string
m_panel1 Panel
m_searchAnimation SearchingAnimation
m_selObject ICmObject
m_skipCheck bool
m_tbForm FwTextBox
m_tsf ITsStrFactory
m_vernHvos HashSet
m_wsLabel Label

공개 메소드들

메소드 설명
BaseGoDlg ( ) : System

Constructor.

CheckDisposed ( ) : void

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

SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator ) : void

Set up the dlg in preparation to showing it.

SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, ITsString tssform ) : void

SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, string form ) : void

Set up the dlg in preparation to showing it.

SetHelpTopic ( string helpTopic ) : void

Sets the help topic ID for the window. This is used in both the Help button and when the user hits F1

SetOkButtonText ( string text ) : void

Set the text for the OK button.

보호된 메소드들

메소드 설명
AdjustText ( int &addToSelection ) : string
Dispose ( bool disposing ) : void

Clean up any resources being used.

FocusTbFormTheFirstTime ( ) : void

The first time it becomes possible, focus m_tbForm. Depending for some obscure reason on the DPI, events occur in different orders, and it may not be possible to focus this control at various points where we would like to. Do it (once) as soon as we can. Not more than that, lest we move the focus back here from somewhere else the user put it.

HandleMatchingSelectionChanged ( ) : void
HandleMatchingSelectionChanged ( FwObjectSelectionEventArgs e ) : void
InitializeMatchingObjects ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator ) : void
LoadWritingSystemCombo ( ) : void
OnLoad ( EventArgs e ) : void

Overridden to defeat the standard .NET behavior of adjusting size by screen resolution. That is bad for this dialog because we remember the size, and if we remember the enlarged size, it just keeps growing. If we defeat it, it may look a bit small the first time at high resolution, but at least it will stay the size the user sets. This also ensures that m_tbForm has the focus when the dialog box first comes up, even for 120dpi fonts.

OnShown ( EventArgs e ) : void
ResetForm ( ) : void
ResetMatches ( string searchKey ) : void

Reset the list of matching items. This is not abstract so that this form can be opened in the Windows Forms Designer.

SetBottomMessage ( ) : void

Subclasses should override this, if they have special behavior for messages.

SetCbWritingSystemsSize ( ) : void

Increase the width of the writing systems combobox if needed to display the names. (This fixes FWNX-795.)

SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, int ws ) : void
SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, string form, int ws ) : void
SetupBottomMsg ( ) : int

Sets various proerties on the m_fwTextBoxBottomMsg control.

ShowControlsBasedOnPanel1Position ( ) : void
StartSearchAnimation ( ) : void
m_btnHelp_Click ( object sender, EventArgs e ) : void

Display help for this dialog.

m_btnInsert_Click ( object sender, EventArgs e ) : void
m_cbWritingSystems_SelectedIndexChanged ( object sender, EventArgs e ) : void
m_tbForm_KeyDown ( object sender, KeyEventArgs e ) : void

translate up and down arrow keys in the Find textbox into moving the selection in the matching entries list view.

m_tbForm_TextChanged ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
AdjustControlsToTextResize ( ) : void
BaseGoDlg_Activated ( object sender, EventArgs e ) : void
BaseGoDlg_Closed ( object sender, EventArgs e ) : void
GrowDialogAndAdjustControls ( int delta, Control grower ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

SetHelpButtonEnabled ( ) : void
SetupBasicTextProperties ( SIL.FieldWorks.LexText.Controls.WindowParams wp ) : void
m_matchingObjectsBrowser_SearchCompleted ( object sender, EventArgs e ) : void
m_matchingObjectsBrowser_SelectionMade ( object sender, FwObjectSelectionEventArgs e ) : void
m_matchingObjects_SelectionChanged ( object sender, FwObjectSelectionEventArgs e ) : void

메소드 상세

AdjustText() 보호된 메소드

protected AdjustText ( int &addToSelection ) : string
addToSelection int
리턴 string

BaseGoDlg() 공개 메소드

Constructor.
public BaseGoDlg ( ) : System
리턴 System

CheckDisposed() 공개 메소드

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

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FocusTbFormTheFirstTime() 보호된 메소드

The first time it becomes possible, focus m_tbForm. Depending for some obscure reason on the DPI, events occur in different orders, and it may not be possible to focus this control at various points where we would like to. Do it (once) as soon as we can. Not more than that, lest we move the focus back here from somewhere else the user put it.
protected FocusTbFormTheFirstTime ( ) : void
리턴 void

HandleMatchingSelectionChanged() 보호된 메소드

protected HandleMatchingSelectionChanged ( ) : void
리턴 void

HandleMatchingSelectionChanged() 보호된 메소드

protected HandleMatchingSelectionChanged ( FwObjectSelectionEventArgs e ) : void
e FwObjectSelectionEventArgs
리턴 void

InitializeMatchingObjects() 보호된 메소드

protected InitializeMatchingObjects ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator ) : void
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
리턴 void

LoadWritingSystemCombo() 보호된 메소드

protected LoadWritingSystemCombo ( ) : void
리턴 void

OnLoad() 보호된 메소드

Overridden to defeat the standard .NET behavior of adjusting size by screen resolution. That is bad for this dialog because we remember the size, and if we remember the enlarged size, it just keeps growing. If we defeat it, it may look a bit small the first time at high resolution, but at least it will stay the size the user sets. This also ensures that m_tbForm has the focus when the dialog box first comes up, even for 120dpi fonts.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnShown() 보호된 메소드

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

ResetForm() 보호된 메소드

protected ResetForm ( ) : void
리턴 void

ResetMatches() 보호된 메소드

Reset the list of matching items. This is not abstract so that this form can be opened in the Windows Forms Designer.
protected ResetMatches ( string searchKey ) : void
searchKey string
리턴 void

SetBottomMessage() 보호된 메소드

Subclasses should override this, if they have special behavior for messages.
protected SetBottomMessage ( ) : void
리턴 void

SetCbWritingSystemsSize() 보호된 메소드

Increase the width of the writing systems combobox if needed to display the names. (This fixes FWNX-795.)
protected SetCbWritingSystemsSize ( ) : void
리턴 void

SetDlgInfo() 공개 메소드

Set up the dlg in preparation to showing it.
public SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator ) : void
cache SIL.FieldWorks.FDO.FdoCache FDO cache.
wp SIL.FieldWorks.LexText.Controls.WindowParams Strings used for various items in this dialog.
mediator XCore.Mediator
리턴 void

SetDlgInfo() 공개 메소드

public SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, ITsString tssform ) : void
cache SIL.FieldWorks.FDO.FdoCache
wp SIL.FieldWorks.LexText.Controls.WindowParams
mediator XCore.Mediator
tssform ITsString establishes the ws of the dialog.
리턴 void

SetDlgInfo() 보호된 메소드

protected SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, int ws ) : void
cache SIL.FieldWorks.FDO.FdoCache
wp SIL.FieldWorks.LexText.Controls.WindowParams
mediator XCore.Mediator
ws int
리턴 void

SetDlgInfo() 공개 메소드

Set up the dlg in preparation to showing it.
public SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, string form ) : void
cache SIL.FieldWorks.FDO.FdoCache FDO cache.
wp SIL.FieldWorks.LexText.Controls.WindowParams Strings used for various items in this dialog.
mediator XCore.Mediator
form string Form to use in main text edit box.
리턴 void

SetDlgInfo() 보호된 메소드

protected SetDlgInfo ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.LexText.Controls.WindowParams wp, XCore.Mediator mediator, string form, int ws ) : void
cache SIL.FieldWorks.FDO.FdoCache
wp SIL.FieldWorks.LexText.Controls.WindowParams
mediator XCore.Mediator
form string
ws int
리턴 void

SetHelpTopic() 공개 메소드

Sets the help topic ID for the window. This is used in both the Help button and when the user hits F1
public SetHelpTopic ( string helpTopic ) : void
helpTopic string
리턴 void

SetOkButtonText() 공개 메소드

Set the text for the OK button.
public SetOkButtonText ( string text ) : void
text string
리턴 void

SetupBottomMsg() 보호된 메소드

Sets various proerties on the m_fwTextBoxBottomMsg control.
protected SetupBottomMsg ( ) : int
리턴 int

ShowControlsBasedOnPanel1Position() 보호된 메소드

protected ShowControlsBasedOnPanel1Position ( ) : void
리턴 void

StartSearchAnimation() 보호된 메소드

protected StartSearchAnimation ( ) : void
리턴 void

m_btnHelp_Click() 보호된 메소드

Display help for this dialog.
protected m_btnHelp_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

m_btnInsert_Click() 보호된 메소드

protected m_btnInsert_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

m_cbWritingSystems_SelectedIndexChanged() 보호된 메소드

protected m_cbWritingSystems_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

m_tbForm_KeyDown() 보호된 메소드

translate up and down arrow keys in the Find textbox into moving the selection in the matching entries list view.
protected m_tbForm_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
리턴 void

m_tbForm_TextChanged() 보호된 메소드

protected m_tbForm_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

프로퍼티 상세

m_analHvos 보호되어 있는 프로퍼티

protected HashSet m_analHvos
리턴 HashSet

m_btnClose 보호되어 있는 프로퍼티

protected Button,System.Windows.Forms m_btnClose
리턴 System.Windows.Forms.Button

m_btnHelp 보호되어 있는 프로퍼티

protected Button,System.Windows.Forms m_btnHelp
리턴 System.Windows.Forms.Button

m_btnInsert 보호되어 있는 프로퍼티

protected Button,System.Windows.Forms m_btnInsert
리턴 System.Windows.Forms.Button

m_btnOK 보호되어 있는 프로퍼티

protected Button,System.Windows.Forms m_btnOK
리턴 System.Windows.Forms.Button

m_cache 보호되어 있는 프로퍼티

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

m_cbWritingSystems 보호되어 있는 프로퍼티

protected FwOverrideComboBox,SIL.FieldWorks.Common.Controls m_cbWritingSystems
리턴 SIL.FieldWorks.Common.Controls.FwOverrideComboBox

m_formLabel 보호되어 있는 프로퍼티

protected Label m_formLabel
리턴 Label

m_fwTextBoxBottomMsg 보호되어 있는 프로퍼티

protected FwTextBox m_fwTextBoxBottomMsg
리턴 FwTextBox

m_hasBeenActivated 보호되어 있는 프로퍼티

protected bool m_hasBeenActivated
리턴 bool

m_helpProvider 보호되어 있는 프로퍼티

protected HelpProvider m_helpProvider
리턴 HelpProvider

m_helpTopic 보호되어 있는 프로퍼티

protected string m_helpTopic
리턴 string

m_helpTopicProvider 보호되어 있는 프로퍼티

protected IHelpTopicProvider m_helpTopicProvider
리턴 IHelpTopicProvider

m_matchingObjectsBrowser 보호되어 있는 프로퍼티

protected MatchingObjectsBrowser m_matchingObjectsBrowser
리턴 MatchingObjectsBrowser

m_mediator 보호되어 있는 프로퍼티

protected Mediator m_mediator
리턴 Mediator

m_objectsLabel 보호되어 있는 프로퍼티

protected Label m_objectsLabel
리턴 Label

m_oldSearchKey 보호되어 있는 프로퍼티

protected string m_oldSearchKey
리턴 string

m_panel1 보호되어 있는 프로퍼티

protected Panel m_panel1
리턴 Panel

m_searchAnimation 보호되어 있는 프로퍼티

protected SearchingAnimation m_searchAnimation
리턴 SearchingAnimation

m_selObject 보호되어 있는 프로퍼티

protected ICmObject m_selObject
리턴 ICmObject

m_skipCheck 보호되어 있는 프로퍼티

Optional configuration parameters.
protected bool m_skipCheck
리턴 bool

m_tbForm 보호되어 있는 프로퍼티

protected FwTextBox m_tbForm
리턴 FwTextBox

m_tsf 보호되어 있는 프로퍼티

protected ITsStrFactory m_tsf
리턴 ITsStrFactory

m_vernHvos 보호되어 있는 프로퍼티

protected HashSet m_vernHvos
리턴 HashSet

m_wsLabel 보호되어 있는 프로퍼티

protected Label m_wsLabel
리턴 Label