Exemplo n.º 1
0
 public void SafeEndUpdate()
 {
     if (this.InvokeRequired)
     {
         EndUpdateCallback d = new EndUpdateCallback(SafeEndUpdate);
         this.Invoke(d);
     }
     else
     {
         this.EndUpdate();
     }
 }
Exemplo n.º 2
0
 public void SafeEndUpdate()
 {
     if (this.InvokeRequired)
     {
         EndUpdateCallback d = new EndUpdateCallback(SafeEndUpdate);
         this.Invoke(d);
     }
     else
     {
         this.EndUpdate();
     }
 }