Пример #1
0
 public CT_UI()
 {
     InitializeComponent();
     Initilize();
     carpanel.Visible = false;
     Backgroundfader.Start();
 }
Пример #2
0
        private void showMenu(bool state)
        {
            this.Focus();
            game.changeGameState(state);
            menuContainer.Visible = state;
            menuHolder.Visible    = state;
            ShowCursor(state);

            if (state)
            {
                Backgroundfader.Start();
            }
            else
            {
                Backgroundfader.Stop();
            }
        }
Пример #3
0
 public CT_UI()
 {
     InitializeComponent();
     Initialize();
     Backgroundfader.Start();
 }