private void Button1_Click(object sender, EventArgs e) { saveQ3ans(); this.Hide(); Qustion1 h = new Qustion1(); h.Show(); }
private void BtnOK_Click(object sender, EventArgs e) { var confirm = MessageBox.Show("Are You sure to start exam now?", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (confirm == DialogResult.Yes) { MessageBox.Show("Your Time Starts now"); timer1.Enabled = true; this.Hide(); Qustion1 q1 = new Qustion1(); q1.Show(); } }