LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

ShowQuestion(Control,String,MessageBoxIcon,MessageBoxButtons) Method

Show in webframe






Type: System.Windows.Forms.Control The control displaying the message.
Type: System.String The question message which will be displayed.
Type: System.Windows.Forms.MessageBoxIcon The icon which will be displayed in the System.Windows.Forms.MessageBox
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,
   MessageBoxIcon icon,
   MessageBoxButtons buttons
)
'Declaration
 
Public Overloads Shared Function ShowQuestion( _
   ByVal owner As Control, _
   ByVal message As String, _
   ByVal icon As MessageBoxIcon, _
   ByVal buttons As MessageBoxButtons _
) As DialogResult
'Usage
 
Dim owner As Control
Dim message As String
Dim icon As MessageBoxIcon
Dim buttons As MessageBoxButtons
Dim value As DialogResult
 
value = WorkstationMessager.ShowQuestion(owner, message, icon, buttons)

            

            
public: static DialogResult ShowQuestion( 
   Control* owner,
   string* message,
   MessageBoxIcon icon,
   MessageBoxButtons buttons
) 
public:
static DialogResult ShowQuestion( 
   Control* owner,
   string* message,
   MessageBoxIcon icon,
   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.
icon
Type: System.Windows.Forms.MessageBoxIcon The icon which will be displayed in the System.Windows.Forms.MessageBox
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

See Also

Reference

WorkstationMessager Class
WorkstationMessager Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.