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