private void pictureBox7_Click(object sender, EventArgs e) { DialogResult dialogResult = MessageBox.Show("If you go to other form, Choice 21-40 will be resetted. Continue?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); if (dialogResult == DialogResult.Yes) { About ab = new About(); ab.Show(); this.Hide(); } else { } }
private void pictureBox7_Click(object sender, EventArgs e) { About about = new About(); this.Close(); about.Show(); }