Method Execute
Execute(object, int, ref int)
Displays a goto dialog.
public virtual DialogResult Execute(object sender, int lines, ref int line)
Parameters
sender
objectSpecifies object owning the dialog.
lines
intNumber of lines in the control's text content.
line
intIndex of the current line. When dialog executes receives index of the new line.
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
Execute(object, int, ref int, IWin32Window)
Displays a goto dialog.
public virtual DialogResult Execute(object sender, int lines, ref int line, IWin32Window owner)
Parameters
sender
objectSpecifies object owning the dialog.
lines
intNumber of lines in the control's text content.
line
intIndex of the current line. When dialog executes receives index of the new line.
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.