示例#1
0
 public static void Debug(string s)
 {
     if (thisForm.InvokeRequired)
     {
         ShowDebugDelegate tmp = new ShowDebugDelegate(thisForm.ShowDebug);
         thisForm.Invoke(tmp, s);
     }
     else
     {
         thisForm.ShowDebug(s);
     }
 }
示例#2
0
 public static void Debug(string s)
 {
     if (thisForm.InvokeRequired)
     {
         ShowDebugDelegate tmp = new ShowDebugDelegate(thisForm.ShowDebug);
         thisForm.Invoke(tmp, s);
     }
     else
     {
         thisForm.ShowDebug(s);
     }
 }