Esempio n. 1
0
        private void ResumeButton_Click(object sender, EventArgs e)
        {
            ResumeButton.Visible = false;
            PauseButton.Visible  = true;

            Timer_RunTime.Start();
        }
Esempio n. 2
0
        //Buttons (Top to Bottom, Left to Right)

        private void StartButton_Click(object sender, EventArgs e)
        {
            PlayerField = int.Parse(NoPlayers);

            if (PlayerField >= 2)
            {
                BuyInButton.Visible = false;

                RebuyButton.Visible         = true;
                PreviousLevelButton.Visible = true;
                PreviousLevelButton.Enabled = false;
                NextLevelButton.Visible     = true;
                PlayerDownButton.Visible    = true;

                MenuBar_Setup.Enabled = false;

                CurrentLevelResult.Text = "1";

                StartButton.Visible = false;
                PauseButton.Visible = true;

                LevelCount = int.Parse(MYBlindStructure_SLAVE.Level1TimeResult.Text);

                seconds_NextLevel = LevelCount * 60;

                Timer_RunTime.Start();
            }
            else
            {
                MessageBox.Show("You need at least 2 players to start a game", "Sorry...", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Esempio n. 3
0
        private void ResetButton_Click(object sender, EventArgs e)
        {
            EntryKey = 0;

            Reset++;

            Timer_RunTime.Stop();

            MASTER_Load(sender, e);
        }