Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
 }