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