Click or drag to resize

InfoWarningErrorMessageControllerShowCustomDialog Method

Shows a custom dialog with the specified buttons.

Namespace: Altaxo.Gui.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public int ShowCustomDialog(
	string caption,
	string dialogText,
	int acceptButtonIndex,
	int cancelButtonIndex,
	params string[] buttontexts
)

Parameters

caption  String
The dialog caption.
dialogText  String
The dialog text.
acceptButtonIndex  Int32
The index of the accept button.
cancelButtonIndex  Int32
The index of the cancel button.
buttontexts  String
The button captions.

Return Value

Int32
The index of the pressed button.
See Also