Esempio n. 1
0
 private void HandleActiveMenu()
 {
     if (actives.ActiveMenu == null)
     {
         actives.SetActiveMenu(this);
         return;
     }
     if (actives.ActiveMenu != this)
     {
         actives.ActiveMenu.DeactivateMenu();
         actives.SetActiveMenu(this);
     }
 }