Method Execute
Execute(object, int, ref int)
When implemented by a class, displays a goto dialog.
bool Execute(object sender, int lines, ref int line)
Parameters
senderobjectSpecifies object owning the dialog.
linesintNumber of lines in the control's text content.
lineintIndex of the current line. When dialog executes receives index of the new line.
Returns
- bool
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
Execute(object, int, ref int, Window)
When implemented by a class, displays a goto dialog.
bool Execute(object sender, int lines, ref int line, Window owner)
Parameters
senderobjectSpecifies object owning the dialog.
linesintNumber of lines in the control's text content.
lineintIndex of the current line. When dialog executes receives index of the new line.
ownerWindowAny object that implements IWin32Window that represents the top-level window that will own the modal dialog box.
Returns
- bool
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
Execute(object, int, ref int, OwnerWindow)
When implemented by a class, displays a goto dialog.
bool Execute(object sender, int lines, ref int line, OwnerWindow owner)
Parameters
senderobjectSpecifies object owning the dialog.
linesintNumber of lines in the control's text content.
lineintIndex of the current line. When dialog executes receives index of the new line.
ownerOwnerWindowAny object that implements IWin32Window that represents the top-level window that will own the modal dialog box.
Returns
- bool
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.