DisplayModalReplaceDialog Method
DisplayModalReplaceDialog()
Initializes and runs a modal dialog box allowing you to search for text and replace it.
Declaration
public DialogResult DisplayModalReplaceDialog()
Returns
Type | Description |
---|---|
DialogResult | DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel. |
Implements
DisplayModalReplaceDialog(IWin32Window)
Initializes and runs a modal dialog box allowing you to search for text and replace it.
Declaration
public DialogResult DisplayModalReplaceDialog(IWin32Window owner)
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | owner | Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box. |
Returns
Type | Description |
---|---|
DialogResult | DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel. |