.NET Based OPC UA Client/Server SDK  3.1.0.500
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, Exception exception, MessageBoxButtons buttons, MessageBoxIcon icon)
 Shows the 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 (Exception e)
 Shows the message dialog. More...
 
static DialogResult Show (Exception e, string text)
 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...
 
static DialogResult Show (IWin32Window owner, Exception e, string caption)
 Shows the message dialog. More...
 
static DialogResult Show (IWin32Window owner, Exception e, string text, string caption)
 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 ( Exception  e)
inlinestatic

Shows the message dialog.

Parameters
eThe exception to display in the dialog.
Returns
The button choosen by the user.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( Exception  e,
string  text 
)
inlinestatic

Shows the message dialog.

Parameters
eThe exception to display in the dialog.
textThe text 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.
static DialogResult UnifiedAutomation.UaBase.MessageDialog.Show ( IWin32Window  owner,
Exception  e,
string  caption 
)
inlinestatic

Shows the message dialog.

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

Shows the message dialog.

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

Shows the dialog.

Parameters
ownerThe owner.
textThe text.
captionThe caption.
exceptionThe exception.
buttonsThe buttons.
iconThe icon.
Returns

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