protected override void OnRemoved() { base.OnRemoved(); if (current == this) { current = null; } }
public override void MakeCurrent() { base.MakeCurrent(); current = this; }