private void menUBut_Click(object sender, EventArgs e) { menuForm menu = new menuForm(); menu.Show(); Visible = false; }
private void menuBut_Click(object sender, EventArgs e) { menuForm menu = new menuForm(); if (MessageBox.Show("Are you sure? Your progress will be lost", "Exit", MessageBoxButtons.OKCancel) == DialogResult.OK) { menu.Show(); this.Visible = false; } }
private void mEnuBut_Click(object sender, EventArgs e) { menu.Show(); Visible = false; }