JGR MSTS Editors and Tools
ShowYesNo Method (owner, icon, mainInstruction, content, yes, no)
NamespacesJgr.GuiTaskDialogShowYesNo(Form, TaskDialogCommonIcon, String, String, String, String)

[This is preliminary documentation and is subject to change.]

Shows a message with an icon and yes and no buttons.
Declaration Syntax
C#Visual BasicVisual 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
owner (Form)
The Form to parent the message on.
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.
yes (String)
The String to use for the yes button.
no (String)
The String to use for the no button.
Return Value
The DialogResult indicating which button was selected.

Assembly: JGR.GUI (Module: JGR.GUI) Version: 0.5.4008.31682