Пример #1
0
 private void ActivatePanel(AbstractPanelMenu panel)
 {
     ActivatePanel(panel.getId());
 }
Пример #2
0
    private void HidePanels()
    {
        foreach (AbstractPanelMenu panel in panels) {
            panel.hide();
        }

        activePanel = null;
    }
Пример #3
0
 private void ActivatePanel(MenuPanel panelId)
 {
     foreach (AbstractPanelMenu panel in panels) {
         if (panel.getId() == panelId) {
             activePanel = panel;
             panel.show();
         }else{
             panel.hide();
         }
     }
 }