Пример #1
0
        private void btnEnter_Click(object sender, EventArgs e)
        {
            errorCheck();

            if (radConundrum.Checked == true)
            {
                frmConundrum conundrum = new frmConundrum(playerName);
                conundrum.Show();
                this.Hide();
            }

            if (radGuesstheWord.Checked == true)
            {
                frmGuesstheWord guess = new frmGuesstheWord(playerName);
                guess.Show();
                this.Hide();
            }

            if (radUpdateWords.Checked == true)
            {
                frmAdminLogin admin = new frmAdminLogin(playerName);
                admin.Show();
                this.Hide();
            }
        }
Пример #2
0
        private void btnEnter_Click(object sender, EventArgs e)
        {
            errorCheck();

            if(radConundrum.Checked == true)
            {
                frmConundrum conundrum = new frmConundrum(playerName);
                conundrum.Show();
                this.Hide();
            }

            if (radGuesstheWord.Checked == true)
            {
                frmGuesstheWord guess = new frmGuesstheWord(playerName);
                guess.Show();
                this.Hide();
            }

            if (radUpdateWords.Checked == true)
            {
                frmAdminLogin admin = new frmAdminLogin(playerName);
                admin.Show();
                this.Hide();
            }
        }