Table of Contents

Method Execute

Namespace
Alternet.Editor.Dialogs
Assembly
Alternet.Editor.v9.dll

Execute(ISearch, bool, bool)

When implemented by a class, initializes and runs a search dialog box.

DialogResult Execute(ISearch search, bool isModal, bool isReplace)

Parameters

search ISearch

Specifies ISearch interface owning the dialog.

isModal bool

Indicates whether search dialog should appear in modal state.

isReplace bool

Indicates whether search or replace dialog should be executed.

Returns

DialogResult

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.

Execute(ISearch, bool, bool, IWin32Window)

When implemented by a class, initializes and runs a search dialog box.

DialogResult Execute(ISearch search, bool isModal, bool isReplace, IWin32Window owner)

Parameters

search ISearch

Specifies ISearch interface owning the dialog.

isModal bool

Indicates whether search dialog should appear in modal state.

isReplace bool

Indicates whether search or replace dialog should be executed.

owner IWin32Window

Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.

Returns

DialogResult

DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.