[This is preliminary documentation and is subject to change.]
Shows a message with an icon and yes and no buttons.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static DialogResult ShowYesNo( Form owner, TaskDialogCommonIcon icon, string mainInstruction, string content, string yes, string no )
Public Shared Function ShowYesNo ( _ owner As Form, _ icon As TaskDialogCommonIcon, _ mainInstruction As String, _ content As String, _ yes As String, _ no As String _ ) As DialogResult
public: static DialogResult ShowYesNo( Form^ owner, TaskDialogCommonIcon icon, String^ mainInstruction, String^ content, String^ yes, String^ no )
Parameters
- icon (TaskDialogCommonIcon)
- The TaskDialogCommonIcon to show with the message.
- mainInstruction (String)
- The main heading for the message.
- content (String)
- The details for the message, shown below the mainInstruction.
Return Value
The DialogResult indicating which button was selected.