コード例 #1
0
 //
 // PUBLIC METHODS
 //
 public static FormException GetInstance()
 {
     if (formException == null)
     {
         formException = new FormException();
         formException.CreateHandle();
     }
     return(formException);
 }
コード例 #2
0
        public static void HandleException(Exception exception)
        {
            // Exit if Exception is NULL
            if (exception == null)
            {
                return;
            }

            // Get New of Existing Instance of Exception Window
            FormException formException = FormException.GetInstance();

            // Get Calling Assembly
            Assembly assembly = Assembly.GetCallingAssembly();

            // Add Exception to Webbrowser
            formException.AddException(null, new ExceptionHandlerEventArgs(exception, assembly));
        }
コード例 #3
0
 //
 // PUBLIC METHODS
 //
 public static FormException GetInstance() {
     if (formException == null) {
         formException = new FormException();
         formException.CreateHandle();
     }
     return formException;
 }