Click or drag to resize

GUIFactoryServiceYesNoMessageBox Method

Shows a message box with a question to be answered either yes or no.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract bool YesNoMessageBox(
	string txt,
	string caption,
	bool defaultanswer
)

Parameters

txt  String
The question text.
caption  String
The caption of the dialog box.
defaultanswer  Boolean
If true, the default answer is "yes", otherwise "no".

Return Value

Boolean
True if the user answered with Yes, otherwise false.

Implements

IGuiFactoryServiceYesNoMessageBox(String, String, Boolean)
See Also