Пример #1
0
        private void btnKnight_Click(object sender, EventArgs e)
        {
            locationStartKnight locationKnight = new locationStartKnight();

            locationKnight.ShowDialog(); // Shows the Knight location chooser
            this.Close();
        }
Пример #2
0
        private void btnKnight_Click(object sender, EventArgs e)
        {
            locationStartKnight locationKnight = new locationStartKnight();

            locationKnight.ShowDialog(); // Shows the Knight location chooser
            Form3 f3 = new Form3();

            f3.Visible = false;
        }