private void menUBut_Click(object sender, EventArgs e)
        {
            menuForm menu = new menuForm();

            menu.Show();
            Visible = false;
        }
Exemple #2
0
        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;
            }
        }
Exemple #3
0
 private void mEnuBut_Click(object sender, EventArgs e)
 {
     menu.Show();
     Visible = false;
 }