Provides a form that displays an exception to the user
Наследование: IExceptionNotifier
Пример #1
0
 /// <summary>
 /// Sets up the exception notifier used to display
 /// exceptions to the final user.  If not specified,
 /// assumes the FormExceptionNotifier.
 /// </summary>
 protected override void SetupExceptionNotifier()
 {
     if (ExceptionNotifier == null)
     {
         ExceptionNotifier = new FormExceptionNotifier();
     }
     GlobalRegistry.UIExceptionNotifier = ExceptionNotifier;
 }
Пример #2
0
 /// <summary>
 /// Sets up the exception notifier used to display
 /// exceptions to the final user.  If not specified,
 /// assumes the FormExceptionNotifier.
 /// </summary>
 protected override void SetupExceptionNotifier()
 {
     if (ExceptionNotifier == null) ExceptionNotifier = new FormExceptionNotifier();
     GlobalRegistry.UIExceptionNotifier = ExceptionNotifier;
 }