Пример #1
0
        private void RestartBtn_Click(object sender, EventArgs e)
        {
            GameForm f2 = new GameForm(o1, path);

            this.Hide();
            f2.ShowDialog();
            this.Dispose();
            this.Close();
        }
Пример #2
0
        private void GameBtn_Click(object sender, EventArgs e)
        {
            GameForm ImD = new GameForm(o1, path);

            this.Hide();
            ImD.ShowDialog();
            this.Close();
            this.Dispose();
        }