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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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