Display a question message to the user.
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
)
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
Type: System.Windows.Forms.DialogResult The result selected by the user for the question.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document