CommonDialog.ShowDialog Method (Window)
Displays a common dialog.
Assembly: PresentationFramework (in PresentationFramework.dll)
<SecurityCriticalAttribute> Public Function ShowDialog ( owner As Window ) As Nullable(Of Boolean)
Handle to the window that owns the dialog.
RunDialog. Additionally, the dialog that is eventually shown is assigned an owner window, which is specified by the owner parameter.performs initialization tasks for all common dialogs before calling
to execute this method without raising of an exception. Associated enumeration: AllWindows
Available since 3.0