Exemplo n.º 1
0
 /// <summary>
 /// Реагируем на смену расширения экрана
 /// </summary>
 private void OnScreenResolutionChange()
 {
     foreach (MenuItem item in _CurrentMenu)
     {
         if (item.Action == ActionType.ScreenResolution)
         {
             _Settings.ScreenResolution = item.ItemControl.Caption;
         }
     }
     _Game.ChangeResolution(_Settings.ScreenResolution);
 }