public override void OnStart(MainDisplay owner) { base.OnStart(owner); if (owner.TopPanelHidden) { owner.ShowTopPanel(); } }
public override void OnExit(MainDisplay owner) { if (hidBottomPanel) { owner.ShowBottomPanel(); hidBottomPanel = false; } if (hidTopPanel) { owner.ShowTopPanel(); hidTopPanel = false; } base.OnExit(owner); }