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