Intersoft ClientUI Documentation
ShowDialog Method (IModalWindow)



The owner of the modal window. When specified, the dialog box will appear centered against the owner.
The callback that invoked when the modal window is closed.
Show the dialog box to the foreground window.
Syntax
Sub ShowDialog( _
   ByVal owner As IWindow, _
   ByVal closeCallback As Action(Of DialogResult) _
) 
Dim instance As IModalWindow
Dim owner As IWindow
Dim closeCallback As Action(Of DialogResult)
 
instance.ShowDialog(owner, closeCallback)
void ShowDialog( 
   IWindow owner,
   Action<DialogResult> closeCallback
)
void ShowDialog( 
   IWindow^ owner,
   Action<DialogResult>^ closeCallback
) 

Parameters

owner
The owner of the modal window. When specified, the dialog box will appear centered against the owner.
closeCallback
The callback that invoked when the modal window is closed.
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

Reference

IModalWindow Interface
IModalWindow Members

Send Feedback