LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ShowError(Control,Exception) Method
See Also 
Leadtools.Medical.Workstation Namespace > WorkstationMessager Class > ShowError Method : ShowError(Control,Exception) Method




owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception to be displayed.
owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception to be displayed.
Display an error message.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Sub ShowError( _
   ByVal owner As Control, _
   ByVal ex As Exception _
) 
Visual Basic (Usage)Copy Code
Dim owner As Control
Dim ex As Exception
 
WorkstationMessager.ShowError(owner, ex)
C# 
public static void ShowError( 
   Control owner,
   Exception ex
)
Managed Extensions for C++ 
public: static void ShowError( 
   Control* owner,
   Exception* ex
) 
C++/CLI 
public:
static void ShowError( 
   Control^ owner,
   Exception^ ex
) 

Parameters

owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception to be displayed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also