LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ShowDialog Method
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : ShowDialog Method



owner
Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
owner
Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.
Runs the Open dialog box.

Syntax

Visual Basic (Declaration) 
Public Function ShowDialog( _
   ByVal owner As IWin32Window _
) As DialogResult
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim owner As IWin32Window
Dim value As DialogResult
 
value = instance.ShowDialog(owner)
C# 
public DialogResult ShowDialog( 
   IWin32Window owner
)
C++/CLI 
public:
DialogResult ShowDialog( 
   IWin32Window^ owner
) 

Parameters

owner
Any object that implements System.Windows.Forms.IWin32Window that represents the top-level window that will own the modal dialog box.

Return Value

Returns a value of the dialog box that specifies the identifiers.

Example

Refer to RasterOpenDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also