Exemple #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);
     }
 }
Exemple #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);
     }
 }