C# 클래스 SIL.FieldWorks.Common.Controls.SimpleMatchDlg

SimpleMatchDlg allows the user to type a target string and indicate whether it should match the whole, start, end, or anywhere in the target. It knows how to make a matcher consistent with what the user entered.
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

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

SetDlgValues ( IMatcher matcher, IVwStylesheet stylesheet ) : void

Initialize the dialog, based on the old matcher, if any, and if recognized.

SimpleMatchDlg ( ILgWritingSystemFactory wsf, IHelpTopicProvider helpTopicProvider, int ws, IVwStylesheet ss, SIL.FieldWorks.FDO.FdoCache cache ) : System

Initializes a new instance of the T:SimpleMatchDlg class.

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

buttonHelp_Click ( object sender, System e ) : void
control_Click ( object sender, EventArgs e ) : void
m_okButton_Click ( object sender, System e ) : void

Make sure the search text is valid for the type of IMatcher that is created. Use the new IsValid method on the IMatcher interface to make sure it's valid and allow it to continue, otherwise show the errormessage associated with the error and don't allow it to be selected.

m_regExButton_CheckedChanged ( object sender, EventArgs e ) : void
regexHelper_Click ( object sender, EventArgs e ) : void

메소드 상세

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

SetDlgValues() 공개 메소드

Initialize the dialog, based on the old matcher, if any, and if recognized.
public SetDlgValues ( IMatcher matcher, IVwStylesheet stylesheet ) : void
matcher IMatcher The matcher.
stylesheet IVwStylesheet The stylesheet.
리턴 void

SimpleMatchDlg() 공개 메소드

Initializes a new instance of the T:SimpleMatchDlg class.
public SimpleMatchDlg ( ILgWritingSystemFactory wsf, IHelpTopicProvider helpTopicProvider, int ws, IVwStylesheet ss, SIL.FieldWorks.FDO.FdoCache cache ) : System
wsf ILgWritingSystemFactory The WSF.
helpTopicProvider IHelpTopicProvider The help topic provider.
ws int The ws.
ss IVwStylesheet The ss.
cache SIL.FieldWorks.FDO.FdoCache
리턴 System