ShowQuestion(Control,string,MessageBoxIcon,MessageBoxButtons) Method

Summary
Display a question message to the user.
Syntax
C#
VB
C++
public static DialogResult ShowQuestion( 
   Control owner, 
   string message, 
   MessageBoxIcon icon, 
   MessageBoxButtons buttons 
) 
  
Public Overloads Shared Function ShowQuestion( _ 
   ByVal owner As Control, _ 
   ByVal message As String, _ 
   ByVal icon As MessageBoxIcon, _ 
   ByVal buttons As MessageBoxButtons _ 
) As DialogResult 
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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.