Пример #1
0
 protected override void OnRemoved()
 {
     base.OnRemoved();
     if (current == this)
     {
         current = null;
     }
 }
Пример #2
0
 public override void MakeCurrent()
 {
     base.MakeCurrent();
     current = this;
 }