ImageMan.Net Version 3 Summer 2012 Release
ShowDialog(IWin32Window) Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > OpenImageDialog Class > ShowDialog Method : ShowDialog(IWin32Window) Method





owner
An object which implements IWin32Window that represents the top-level window that will own the modal dialog.

Glossary Item Box

Shows the File Open dialog with the specified owner.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ShowDialog( _
   ByVal owner As System.Windows.Forms.IWin32Window _
) As System.Windows.Forms.DialogResult
Visual Basic (Usage)Copy Code
Dim instance As OpenImageDialog
Dim owner As System.Windows.Forms.IWin32Window
Dim value As System.Windows.Forms.DialogResult
 
value = instance.ShowDialog(owner)
C# 
public System.Windows.Forms.DialogResult ShowDialog( 
   System.Windows.Forms.IWin32Window owner
)
JScript 
public function ShowDialog( 
   owner : System.Windows.Forms.IWin32Window
) : System.Windows.Forms.DialogResult;
Managed Extensions for C++ 
public: System.Windows.Forms.DialogResult ShowDialog( 
   System.Windows.Forms.IWin32Window* owner
) 
C++/CLI 
public:
System.Windows.Forms.DialogResult ShowDialog( 
   System.Windows.Forms.IWin32Window^ owner
) 

Parameters

owner
An object which implements IWin32Window that represents the top-level window that will own the modal dialog.

Return Value

DialogResult.OK if the user clicks OK in the dialog box; otherwise DialogResult.Cancel

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.