InfoWarningErrorMessageControllerShowCustomDialog Method |
Shows a custom dialog with the specified buttons.
Namespace: Altaxo.Gui.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
Int32The index of the pressed button.
See Also