Пример #1
0
 private void Play_Click(object sender, EventArgs e)
 {
     Form1.PlayerNames(player1.Text, player2.Text);
     this.Close();
 }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form1.PlayerNames(T1.Text, T2.Text);

            this.Close();
        }