C# Класс SIL.FieldWorks.FwCoreDlgs.DummyFwFindReplaceDlg

Dummy find dialog
Наследование: FwFindReplaceDlg
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_fInvalidRegExDisplayed bool
m_matchMsg string
m_matchNotFoundType MatchType

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

Метод Описание
ApplyStyle ( FwTextBox fwTextBox, string sStyle ) : void

Exposes the ApplyStyle method

DummyFwFindReplaceDlg ( ) : System

PopulateStyleMenu ( ) : void

Expose the PopulateStyleMenu method

PopulateWritingSystemMenu ( ) : void

Expose the PopulateWritingSystemMenu method

SimulateFindButtonClick ( ) : void

SimulateFindPrevButtonClick ( ) : void

SimulateReplaceAllButtonClick ( ) : void

SimulateReplaceButtonClick ( ) : void

VerifySelection ( int iInstancePara, int iPara, int iInstanceString, int ichAnchor, int ichEnd ) : void

Verifies that the correct selection was made as the result of the find/replace operation.

Защищенные методы

Метод Описание
DisplayInvalidRegExMessage ( string errorMessage ) : void

Displays a message box that the regular expression is invalid.

Приватные методы

Метод Описание
OnMatchNotFound ( object sender, string defaultMsg, MatchType matchType ) : bool

Описание методов

ApplyStyle() публичный Метод

Exposes the ApplyStyle method
public ApplyStyle ( FwTextBox fwTextBox, string sStyle ) : void
fwTextBox SIL.FieldWorks.Common.Widgets.FwTextBox The Tss edit control whose selection should have the /// specified style applied to it.
sStyle string The name of the style to apply
Результат void

DisplayInvalidRegExMessage() защищенный Метод

Displays a message box that the regular expression is invalid.
protected DisplayInvalidRegExMessage ( string errorMessage ) : void
errorMessage string The error message.
Результат void

DummyFwFindReplaceDlg() публичный Метод

public DummyFwFindReplaceDlg ( ) : System
Результат System

PopulateStyleMenu() публичный Метод

Expose the PopulateStyleMenu method
public PopulateStyleMenu ( ) : void
Результат void

PopulateWritingSystemMenu() публичный Метод

Expose the PopulateWritingSystemMenu method
public PopulateWritingSystemMenu ( ) : void
Результат void

SimulateFindButtonClick() публичный Метод

public SimulateFindButtonClick ( ) : void
Результат void

SimulateFindPrevButtonClick() публичный Метод

public SimulateFindPrevButtonClick ( ) : void
Результат void

SimulateReplaceAllButtonClick() публичный Метод

public SimulateReplaceAllButtonClick ( ) : void
Результат void

SimulateReplaceButtonClick() публичный Метод

public SimulateReplaceButtonClick ( ) : void
Результат void

VerifySelection() публичный Метод

Verifies that the correct selection was made as the result of the find/replace operation.
public VerifySelection ( int iInstancePara, int iPara, int iInstanceString, int ichAnchor, int ichEnd ) : void
iInstancePara int The index of the instance of the paragraph property /// in whose contants the selection was expected.
iPara int The index of the para where the selection was expected.
iInstanceString int The index of the instance of the string property where /// the selection was expected.
ichAnchor int The character offset of the anchor.
ichEnd int The character offset of the end.
Результат void

Описание свойств

m_fInvalidRegExDisplayed публичное свойство

true if the "Invalid RegEx" message box was displayed
public bool m_fInvalidRegExDisplayed
Результат bool

m_matchMsg публичное свойство

public string m_matchMsg
Результат string

m_matchNotFoundType публичное свойство

public MatchType m_matchNotFoundType
Результат MatchType