Exemplo n.º 1
0
 protected void CrossThreadBeginUpdate(ListView lview)
 {
     if (this.InvokeRequired)
     {
         CrossThreadBeginUpdateDelegate d = new CrossThreadBeginUpdateDelegate(this.CrossThreadBeginUpdate);
         this.Invoke(d, new Object[] { lview });
     }
     else
     {
         lview.BeginUpdate();
     }
 }
Exemplo n.º 2
0
 protected void CrossThreadBeginUpdate(ListView lview)
 {
     if (this.InvokeRequired)
     {
         CrossThreadBeginUpdateDelegate d = new CrossThreadBeginUpdateDelegate(this.CrossThreadBeginUpdate);
         this.Invoke(d, new Object[] { lview });
     }
     else
     {
         lview.BeginUpdate();
     }
 }