protected override void PostEnabled() { if (_visible) { MenuGlobals.PushMenuOpened(); } }
private void SetVisible(bool value) { if (_visible != value) { _visible = value; if (_visible) { MenuGlobals.PushMenuOpened(); } else { MenuGlobals.PopMenuOpened(); } } }