CommonDialog.ShowDialog Method (IWin32Window)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Any object that implements IWin32Window that represents the top-level window that will own the modal dialog box.
Return ValueDialogResult.OK if the user clicks OK in the dialog box; otherwise, DialogResult.Cancel.
This version of the ShowDialog method allows you to specify a specific form or control that will own the dialog box that is shown. If you use the version of this method that has no parameters, the dialog box being shown would be owned automatically by the currently active window of your application.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.