Class with static methods to show message boxes.
All text displayed using the MessageService is passed to the
StringParser to replace ${res} markers.
Inheritance Hierarchy Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static class MessageService
The MessageService type exposes the following members.
Properties | Name | Description |
---|
  | DefaultMessageBoxTitle |
Gets/Sets the default title for message boxes displayed
by the message service.
|
  | ProductName |
Gets/Sets the name of the product.
Is used by the string parser as replacement for ${ProductName}.
|
Top
Methods | Name | Description |
---|
  | AskQuestion |
Asks the user a Yes/No question, using "Yes" as the default button.
Returns true if yes was clicked, false if no was clicked.
|
  | AskQuestionFormatted(String, Object) | |
  | AskQuestionFormatted(String, String, Object) | |
  | ShowCustomDialog(String, String, String) |
Shows a custom dialog.
|
  | ShowCustomDialog(String, String, Int32, Int32, String) |
Shows a custom dialog.
|
  | ShowError |
Shows an error using a message box.
|
  | ShowErrorFormatted |
Shows an error using a message box.
formatstring is first passed through the
StringParser,
then through Format(String, Object), using the formatitems as arguments.
|
  | ShowException |
Shows an exception.
|
  | ShowHandledException | |
  | ShowInputBox | |
  | ShowMessage | |
  | ShowMessageFormatted(String, Object) | |
  | ShowMessageFormatted(String, String, Object) | |
  | ShowWarning |
Shows a warning message.
|
  | ShowWarningFormatted |
Shows a warning message.
formatstring is first passed through the
StringParser,
then through Format(String, Object), using the formatitems as arguments.
|
Top
See Also