UA Bundle SDK .NET  2.3.0.330
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.MessageDialog Class Reference

A class which displays a simple message dialog. More...

Inherits Form.

Public Member Functions

 MessageDialog ()
 Initializes a new instance of the MessageDialog class. More...
 
DialogResult ShowDialog (IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
 Shows the message dialog. More...
 

Static Public Member Functions

static DialogResult Show (string text)
 Shows the message dialog. More...
 
static DialogResult Show (string text, string caption)
 Shows the message dialog. More...
 
static DialogResult Show (string text, string caption, MessageBoxButtons buttons)
 Shows the message dialog. More...
 
static DialogResult Show (string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
 Shows the message dialog. More...
 
static DialogResult Show (IWin32Window owner, string text)
 Shows the message dialog. More...
 
static DialogResult Show (IWin32Window owner, string text, string caption)
 Shows the message dialog. More...
 
static DialogResult Show (IWin32Window owner, string text, string caption, MessageBoxButtons buttons)
 Shows the message dialog. More...
 
static DialogResult Show (IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
 Shows the message dialog. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Detailed Description

A class which displays a simple message dialog.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.MessageDialog.MessageDialog ( )
inline

Initializes a new instance of the MessageDialog class.

Member Function Documentation

override void UnifiedAutomation.UaBase.MessageDialog.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( string  text)
inlinestatic

Shows the message dialog.

Parameters
textThe text to display.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( string  text,
string  caption 
)
inlinestatic

Shows the message dialog.

Parameters
textThe text to display.
captionThe caption at the top of the window.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( string  text,
string  caption,
MessageBoxButtons  buttons 
)
inlinestatic

Shows the message dialog.

Parameters
textThe text to display.
captionThe caption at the top of the window.
buttonsThe buttons to display.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( string  text,
string  caption,
MessageBoxButtons  buttons,
MessageBoxIcon  icon 
)
inlinestatic

Shows the message dialog.

Parameters
textThe text to display.
captionThe caption at the top of the window.
buttonsThe buttons to display.
iconThe icon to display.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( IWin32Window  owner,
string  text 
)
inlinestatic

Shows the message dialog.

Parameters
ownerThe owner of the dialog.
textThe text to display.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( IWin32Window  owner,
string  text,
string  caption 
)
inlinestatic

Shows the message dialog.

Parameters
ownerThe owner of the dialog.
textThe text to display.
captionThe caption at the top of the window.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( IWin32Window  owner,
string  text,
string  caption,
MessageBoxButtons  buttons 
)
inlinestatic

Shows the message dialog.

Parameters
ownerThe owner of the dialog.
textThe text to display.
captionThe caption at the top of the window.
buttonsThe buttons to display.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( IWin32Window  owner,
string  text,
string  caption,
MessageBoxButtons  buttons,
MessageBoxIcon  icon 
)
inlinestatic

Shows the message dialog.

Parameters
ownerThe owner of the dialog.
textThe text to display.
captionThe caption at the top of the window.
buttonsThe buttons to display.
iconThe icon to display.
Returns
The button choosen by the user.
DialogResult UnifiedAutomation.UaBase.MessageDialog.ShowDialog ( IWin32Window  owner,
string  text,
string  caption,
MessageBoxButtons  buttons,
MessageBoxIcon  icon 
)
inline

Shows the message dialog.

Parameters
ownerThe owner of the dialog.
textThe text to display.
captionThe caption at the top of the window.
buttonsThe buttons to display.
iconThe icon to display.
Returns
The button choosen by the user.

The documentation for this class was generated from the following files: