Пример #1
0
        public static void ShowException(Exception ex, string message = "")
        {
            var info   = new ExceptionInfo(ex, message);
            var window = new ExceptionWindow(info);

            if (Editor.Instance == null || Editor.Instance.IsDisposed)
            {
                window.Show();
            }
            else
            {
                window.Show(Editor.Instance);
            }
        }
Пример #2
0
 public static void ShowException(Exception ex, string message = "")
 {
     var info = new ExceptionInfo(ex, message);
     var window = new ExceptionWindow(info);
     if (Editor.Instance == null || Editor.Instance.IsDisposed) window.Show();
     else window.Show(Editor.Instance);
 }