Intersoft ClientUI Documentation
Show(IWindow,String,String,Action<DialogResult>) Method



A Window that represents the owner window of the message box.
A String that specifies the text to display.
A String that specifies the title bar caption to display.
An Action delegate that will be called when the message box is closed.
Displays a message box with simple message and title bar caption in front of the specified window.
Syntax
Public Overloads Shared Sub Show( _
   ByVal window As IWindow, _
   ByVal message As String, _
   ByVal caption As String, _
   ByVal resultCallback As Action(Of DialogResult) _
) 
Dim window As IWindow
Dim message As String
Dim caption As String
Dim resultCallback As Action(Of DialogResult)
 
UXMessageBox.Show(window, message, caption, resultCallback)
public static void Show( 
   IWindow window,
   string message,
   string caption,
   Action<DialogResult> resultCallback
)
public:
static void Show( 
   IWindow^ window,
   String^ message,
   String^ caption,
   Action<DialogResult>^ resultCallback
) 

Parameters

window
A Window that represents the owner window of the message box.
message
A String that specifies the text to display.
caption
A String that specifies the title bar caption to display.
resultCallback
An Action delegate that will be called when the message box 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

UXMessageBox Class
UXMessageBox Members
Overload List

Send Feedback