private void RestartBtn_Click(object sender, EventArgs e) { GameForm f2 = new GameForm(o1, path); this.Hide(); f2.ShowDialog(); this.Dispose(); this.Close(); }
private void GameBtn_Click(object sender, EventArgs e) { GameForm ImD = new GameForm(o1, path); this.Hide(); ImD.ShowDialog(); this.Close(); this.Dispose(); }