Class EbicsMessageBox
Inheritance
System.Object
EbicsMessageBox
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Win32.dll
Syntax
public static class EbicsMessageBox
Methods
GetErrorIcon(EbicsReturnCode)
Provides a suitable MessageBoxIcon value for the error class of this return code.
Declaration
public static MessageBoxIcon GetErrorIcon(EbicsReturnCode aReturnCode)
Parameters
Type | Name | Description |
---|---|---|
EbicsReturnCode | aReturnCode |
Returns
Type | Description |
---|---|
System.Windows.Forms.MessageBoxIcon |
ShowError(Form, String, MessageBoxButtons)
Declaration
public static DialogResult ShowError(Form aForm, string sErrorText, MessageBoxButtons nButtons = MessageBoxButtons.OK)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | aForm | |
System.String | sErrorText | |
System.Windows.Forms.MessageBoxButtons | nButtons |
Returns
Type | Description |
---|---|
System.Windows.Forms.DialogResult |
ShowError(IWin32Window, String, String, MessageBoxButtons)
Declaration
public static DialogResult ShowError(IWin32Window aOwnerWindow, string sCaption, string sErrorText, MessageBoxButtons nButtons = MessageBoxButtons.OK)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | aOwnerWindow | |
System.String | sCaption | |
System.String | sErrorText | |
System.Windows.Forms.MessageBoxButtons | nButtons |
Returns
Type | Description |
---|---|
System.Windows.Forms.DialogResult |
ShowException(Form, Exception, MessageBoxButtons)
Declaration
public static DialogResult ShowException(Form aForm, Exception aException, MessageBoxButtons nButtons = MessageBoxButtons.OK)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | aForm | |
System.Exception | aException | |
System.Windows.Forms.MessageBoxButtons | nButtons |
Returns
Type | Description |
---|---|
System.Windows.Forms.DialogResult |
ShowException(IWin32Window, String, Exception, MessageBoxButtons)
Declaration
public static DialogResult ShowException(IWin32Window aOwnerWindow, string sCaption, Exception aException, MessageBoxButtons nButtons = MessageBoxButtons.OK)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | aOwnerWindow | |
System.String | sCaption | |
System.Exception | aException | |
System.Windows.Forms.MessageBoxButtons | nButtons |
Returns
Type | Description |
---|---|
System.Windows.Forms.DialogResult |
ShowOrderResult(IWin32Window, String, EbicsOrder)
Evaluates order result and displays an error message if suitable.
Declaration
public static bool ShowOrderResult(IWin32Window aOwnerWindow, string sCaption, EbicsOrder aOrder)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | aOwnerWindow | |
System.String | sCaption | The message box caption to be used with error messages. Must not be |
EbicsOrder | aOrder | The order that was executed. Must not be |
Returns
Type | Description |
---|---|
System.Boolean | If the technical return code and the business return code of the order indicate
a successful execution, then no message box is shown and |
ShowPrompt(IWin32Window, String)
Shows a modeless prompt.
Declaration
public static Form ShowPrompt(IWin32Window aOwnerWindow, string sPrompt)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | aOwnerWindow | |
System.String | sPrompt |
Returns
Type | Description |
---|---|
System.Windows.Forms.Form |
ShowSecurityError(IWin32Window, EbicsContact, IEbicsSecurityMedium)
Declaration
public static void ShowSecurityError(IWin32Window aOwnerWindow, EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | aOwnerWindow | |
EbicsContact | aContact | |
IEbicsSecurityMedium | aSecurityMedium |