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




owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception which its message will be displayed.
owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception which its message will be displayed.
Display a warning message to the user.

Syntax

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

Parameters

owner
Type: System.Windows.Forms.Control The control displaying the message.
ex
Type: System.Exception The exception which its message will 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