Exemplo n.º 1
0
        private void btnPlayCPU_Click(object sender, EventArgs e)
        {
            this.Hide();
            UsernameForm username = new UsernameForm(1);

            username.Closed += (s, args) => this.Close();
            username.Show();
        }
Exemplo n.º 2
0
        private void buttonSubmit_Click(object sender, EventArgs e)
        {
            this.Hide();
            UsernameForm username = new UsernameForm(0);

            username.Closed += (s, args) => this.Close();
            username.Show();
        }