Пример #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;
 }