Method ShowDialog
ShowDialog()
When implemented by a class, runs a print options dialog box.
DialogResult ShowDialog()
Returns
- DialogResult
DialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
ShowDialog(IWin32Window)
When implemented by a class, runs a print options dialog box.
DialogResult ShowDialog(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.