コード例 #1
0
        private void button3_Click(object sender, EventArgs e)//uruchamia grę 4 na 4
        {
            CharacterSelect ch = new CharacterSelect(4);

            this.Hide();
            mainSound.Stop();
            ch.ShowDialog();
            this.Show();
            mainSound.Play();
            checkWin();
        }
コード例 #2
0
        private void FirtGame_Click(object sender, EventArgs e)//uruchamia grę 1 na 1
        {
            CharacterSelect ch = new CharacterSelect(1);

            this.Hide();
            mainSound.Stop();
            ch.ShowDialog();
            this.Show();
            mainSound.Play();
            checkWin();
        }