ShowQuestion(Control,string,MessageBoxButtons) Method

Summary

Display a question message to the user.

Syntax
C#
VB
C++
public static DialogResult ShowQuestion( 
   Control owner, 
   string message, 
   MessageBoxButtons buttons 
) 
  
Public Overloads Shared Function ShowQuestion( _ 
   ByVal owner As Control, _ 
   ByVal message As String, _ 
   ByVal buttons As MessageBoxButtons _ 
) As DialogResult 
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

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

Leadtools.Medical.Workstation Assembly