示例#1
0
 static public void ShowException2(Exception e)
 {
     if (thisMessageWindow != null)
     {
         thisMessageWindow.ShowException(e);
     }
     else
     {
         ITraceLog log = TraceLogClass.TraceLog;
         log.Log(e);
     }
 }
 public void ShowException(Exception e)
 {
     VOB.OutputWindow o = this.GetService(typeof(VOB.OutputWindow)) as VOB.OutputWindow;
     if (o != null)
     {
         o.ShowException(e);
     }
 }