Пример #1
0
        private void btnContinues_Click(object sender, EventArgs e)
        {
            SinglePlay frmNewGame = new SinglePlay(this, lvcontinues, scoreContinues);

            frmNewGame.Show();

            btnContinues.Enabled = false;
        }
Пример #2
0
        private void btnNewGame_Click(object sender, EventArgs e)
        {
            if (/*button2.Text == "Tắt nhạc nền"*/ switchButton1.Value == true)
            {
                //button2.PerformClick();
                switchButton1.Value = false;
            }
            SinglePlay frmNewGame = new SinglePlay(this);

            frmNewGame.Show();

            btnSinglePlay.Enabled = false;
        }