protected override void OnFatalException(FatalExceptionEventArgs e)
 {
     MessageBox.Show(e.FatalException.ToString(), string.Format("{0} Fatal Error", ApplicationName), MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
 protected override void OnFatalException(FatalExceptionEventArgs e) {
     LogError(e.FatalException);
     MessageBox.Show(e.FatalException.ToString(), $"{ApplicationName} Fatal Error",
         MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
 protected override void OnFatalException(FatalExceptionEventArgs e)
 {
     throw e.FatalException;
 }
Beispiel #4
0
 protected override void OnFatalException(FatalExceptionEventArgs e)
 {
     MessageBox.Show(e.FatalException.ToString(), string.Format(Localization.FatalError, ApplicationName), MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
Beispiel #5
0
 protected override void OnFatalException(FatalExceptionEventArgs e)
 {
     LogError(e.FatalException);
     MessageBox.Show(e.FatalException.ToString(), $"{ApplicationName} Fatal Error",
                     MessageBoxButtons.OK, MessageBoxIcon.Error);
 }