Intersoft ClientUI Documentation
ShowDialog Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > IModalWindow Interface : ShowDialog Method






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.
Show the dialog box to the foreground window.

Syntax

Visual Basic (Declaration) 
Sub ShowDialog( _
   ByVal owner As IWindow, _
   ByVal closeCallback As Action(Of DialogResult) _
) 
Visual Basic (Usage)Copy Code
Dim instance As IModalWindow
Dim owner As IWindow
Dim closeCallback As Action(Of DialogResult)
 
instance.ShowDialog(owner, closeCallback)
C# 
void ShowDialog( 
   IWindow owner,
   Action<DialogResult> closeCallback
)
Delphi 
procedure ShowDialog( 
    owner: IWindow;
    closeCallback: Action
); 
JScript 
function ShowDialog( 
   owner : IWindow,
   closeCallback : Action
);
Managed Extensions for C++ 
void ShowDialog( 
   IWindow* owner,
   Action<DialogResult>* closeCallback
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.