Example #1
0
 public void SafeBeginUpdate()
 {
     if (this.InvokeRequired)
     {
         BeginUpdateCallback d = new BeginUpdateCallback(SafeBeginUpdate);
         this.Invoke(d);
     }
     else
     {
         this.BeginUpdate();
     }
 }
Example #2
0
 public void SafeBeginUpdate()
 {
     if (this.InvokeRequired)
     {
         BeginUpdateCallback d = new BeginUpdateCallback(SafeBeginUpdate);
         this.Invoke(d);
     }
     else
     {
         this.BeginUpdate();
     }
 }