예제 #1
0
        public static bool ShowUnhandledException(Exception e, bool canAbort = true)
        {
            UnhandledExceptionWindow win = new UnhandledExceptionWindow(e, canAbort);

            win.Owner = instance.window;
            var result = win.ShowDialog();

            return(result.HasValue && result.Value == false);
        }
예제 #2
0
		public static bool ShowUnhandledException(Exception e, bool canAbort = true)
		{
			UnhandledExceptionWindow win = new UnhandledExceptionWindow(e, canAbort);
			win.Owner = instance.window;
			var result = win.ShowDialog();
			return (result.HasValue && result.Value == false);
		}