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