Example #1
0
 protected override void OnRemoved()
 {
     base.OnRemoved();
     if (current == this)
     {
         current = null;
     }
 }
Example #2
0
 public override void MakeCurrent()
 {
     base.MakeCurrent();
     current = this;
 }