Exemple #1
0
 protected void OnRedraw(RedrawEventArgs e)
 {
     if (this.Redraw != null)
     {
         this.Redraw(this, e);
     }
 }
 protected virtual void Animation_Redraw(object sender, RedrawEventArgs e) {
     if (!this.ListView.IsDisposed && this.ListView.IsHandleCreated) {
         this.ListView.Invoke((MethodInvoker)delegate {
             this.ListView.Invalidate();
         });
     }
 }
Exemple #3
0
 protected virtual void Animation_Redraw(object sender, RedrawEventArgs e)
 {
     // Don't trigger multiple invalidates
     lock (myLock) {
         if (allowInvalidate)
         {
             this.Control.Invalidate();
             allowInvalidate = false;
         }
     }
 }
 protected virtual void Animation_Redraw(object sender, RedrawEventArgs e) {
     if (!this.ListView.IsDisposed && this.ListView.IsHandleCreated) {
         this.ListView.Invoke((MethodInvoker)delegate {
             this.ListView.Invalidate();
         });
     }
 }
 protected void OnRedraw(RedrawEventArgs e) {
     if (this.Redraw != null)
         this.Redraw(this, e);
 }
 protected virtual void Animation_Redraw(object sender, RedrawEventArgs e) {
     // Don't trigger multiple invalidates
     lock (myLock) {
         if (allowInvalidate) {
             this.Control.Invalidate();
             allowInvalidate = false;
         }
     }
 }