LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

ShowQuestion(Control,String,MessageBoxButtons) Method







Type: System.Windows.Forms.Control The control displaying the message.
Type: System.String The question message which will be displayed.
Type: System.Windows.Forms.MessageBoxButtons The buttons which will be displayed in the System.Windows.Forms.MessageBox
Display a question message to the user.
Syntax
public static DialogResult ShowQuestion( 
   Control owner,
   string message,
   MessageBoxButtons buttons
)
'Declaration
 
Public Overloads Shared Function ShowQuestion( _
   ByVal owner As Control, _
   ByVal message As String, _
   ByVal buttons As MessageBoxButtons _
) As DialogResult
'Usage
 
Dim owner As Control
Dim message As String
Dim buttons As MessageBoxButtons
Dim value As DialogResult
 
value = WorkstationMessager.ShowQuestion(owner, message, buttons)
public static DialogResult ShowQuestion( 
   Control owner,
   string message,
   MessageBoxButtons buttons
)
 function Leadtools.Medical.Workstation.WorkstationMessager.ShowQuestion(Control,String,MessageBoxButtons)( 
   owner ,
   message ,
   buttons 
)
public: static DialogResult ShowQuestion( 
   Control* owner,
   string* message,
   MessageBoxButtons buttons
) 
public:
static DialogResult ShowQuestion( 
   Control* owner,
   string* message,
   MessageBoxButtons buttons
) 

Parameters

owner
Type: System.Windows.Forms.Control The control displaying the message.
message
Type: System.String The question message which will be displayed.
buttons
Type: System.Windows.Forms.MessageBoxButtons The buttons which will be displayed in the System.Windows.Forms.MessageBox

Return Value

Type: System.Windows.Forms.DialogResult The result selected by the user for the question.
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

WorkstationMessager Class
WorkstationMessager Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.