Method DisplaySearchDialog
DisplaySearchDialog()
Initializes and runs a dialog box allowing you to search for some text.
public virtual DialogResult DisplaySearchDialog()
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
DisplaySearchDialog(IWin32Window)
Initializes and runs a dialog box allowing you to search for some text.
public virtual DialogResult DisplaySearchDialog(IWin32Window owner)
Parameters
owner
IWin32WindowAny 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.