private void btnStartGame_Click(object sender, EventArgs e) { FormGameOptions FormGameOptions = new FormGameOptions(); FormGameOptions.StartPosition = FormStartPosition.CenterScreen; this.Hide(); FormGameOptions.ShowDialog(); this.Show(); }
private void btnStartGame_Click(object sender, EventArgs e) { FormGameOptions FormGameOptions = new FormGameOptions(); FormGameOptions.StartPosition = FormStartPosition.CenterScreen; this.Hide(); FormGameOptions.ShowDialog(); //once formpoker closese, formgameoptions will close and menu form will popup this.Show(); }