Class EbicsMessageBox
public static class EbicsMessageBox
  - Inheritance
 - 
      
      EbicsMessageBox
 
- Inherited Members
 
Methods
GetErrorIcon(EbicsReturnCode)
Provides a suitable MessageBoxIcon value for the error class of this return code.
public static MessageBoxIcon GetErrorIcon(EbicsReturnCode aReturnCode)
  Parameters
aReturnCodeEbicsReturnCode
Returns
ShowError(Form, string, MessageBoxButtons)
public static DialogResult ShowError(Form aForm, string sErrorText, MessageBoxButtons nButtons = MessageBoxButtons.OK)
  Parameters
aFormFormsErrorTextstringnButtonsMessageBoxButtons
Returns
ShowError(IWin32Window, string, string, MessageBoxButtons)
public static DialogResult ShowError(IWin32Window aOwnerWindow, string sCaption, string sErrorText, MessageBoxButtons nButtons = MessageBoxButtons.OK)
  Parameters
aOwnerWindowIWin32WindowsCaptionstringsErrorTextstringnButtonsMessageBoxButtons
Returns
ShowException(Form, Exception, MessageBoxButtons)
public static DialogResult ShowException(Form aForm, Exception aException, MessageBoxButtons nButtons = MessageBoxButtons.OK)
  Parameters
aFormFormaExceptionExceptionnButtonsMessageBoxButtons
Returns
ShowException(IWin32Window, string, Exception, MessageBoxButtons)
public static DialogResult ShowException(IWin32Window aOwnerWindow, string sCaption, Exception aException, MessageBoxButtons nButtons = MessageBoxButtons.OK)
  Parameters
aOwnerWindowIWin32WindowsCaptionstringaExceptionExceptionnButtonsMessageBoxButtons
Returns
ShowOrderResult(IWin32Window, string, EbicsOrder)
Evaluates order result and displays an error message if suitable.
public static bool ShowOrderResult(IWin32Window aOwnerWindow, string sCaption, EbicsOrder aOrder)
  Parameters
aOwnerWindowIWin32WindowsCaptionstringThe message box caption to be used with error messages. Must not be
null.aOrderEbicsOrderThe order that was executed. Must not be
null.
Returns
- bool
 If the technical return code and the business return code of the order indicate a successful execution, then no message box is shown and
trueis returned. If any return code indicates an error, then a nice message box is shown to the user andfalseis returned.
ShowPrompt(IWin32Window, string)
Shows a modeless prompt.
public static Form ShowPrompt(IWin32Window aOwnerWindow, string sPrompt)
  Parameters
aOwnerWindowIWin32WindowsPromptstring
Returns
ShowSecurityError(IWin32Window, EbicsContact, IEbicsSecurityMedium)
public static void ShowSecurityError(IWin32Window aOwnerWindow, EbicsContact aContact, IEbicsSecurityMedium aSecurityMedium)
  Parameters
aOwnerWindowIWin32WindowaContactEbicsContactaSecurityMediumIEbicsSecurityMedium