private void button3_Click(object sender, System.EventArgs e) { this.Hide(); var menu = new GameEntry(); menu.ShowDialog(); this.Close(); }
private void ButtonMainMenuClicked(object sender, System.EventArgs e) { var message = MessageBox.Show( Messages.PossibleProgressLoss, Messages.Information, MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation); if (message == DialogResult.OK) { this.Hide(); var gameEntry = new GameEntry(); gameEntry.ShowDialog(); this.Close(); } }
private void button3_Click(object sender, System.EventArgs e) { var message = MessageBox.Show("If you leave you will loose your progress!", "Information", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation); if (message == DialogResult.OK) { this.Hide(); var gameEntry = new GameEntry(); gameEntry.ShowDialog(); this.Close(); } }