Пример #1
0
 private void startButton_Click(object sender, EventArgs e)
 {
     PlayerNameEntry frm2 = new PlayerNameEntry();
     frm2.Show();
     frm2.FormClosed += new FormClosedEventHandler(frm2_FormClosed);
     this.Close();
 }
Пример #2
0
        private void startButton_Click(object sender, EventArgs e)
        {
            PlayerNameEntry frm2 = new PlayerNameEntry();

            frm2.Show();
            frm2.FormClosed += new FormClosedEventHandler(frm2_FormClosed);
            this.Close();
        }