示例#1
0
 void IDisposable.Dispose()
 {
     // Multiple calls to dispose must be tolerated
     if (control != null)
     {
         control.EndUpdate();
         control = null;
         State   = null;
     }
 }
示例#2
0
 public TrackerUpdate(TrackerControl c, TrackerState s)
 {
     this.control = c;
     this.State   = s;
 }