private void btnback_Click(object sender, EventArgs e) { Question4 fq4 = new Question4(); fq4.Show(); this.Hide(); }
private void btnnext_Click(object sender, EventArgs e) { int countans = 0; if (checkmatkul1.Checked == false && txbmatkul1.Text != "") { ValueGetSet.is534 = Convert.ToDouble(txbmatkul1.Text); countans++; } else if (checkmatkul1.Checked == true) { countans++; } if (checkmatkul2.Checked == false && txbmatkul2.Text != "") { ValueGetSet.is545 = Convert.ToDouble(txbmatkul2.Text); countans++; } else if (checkmatkul2.Checked == true) { countans++; } if (checkmatkul3.Checked == false && txbmatkul3.Text != "") { ValueGetSet.is556 = Convert.ToDouble(txbmatkul3.Text); countans++; } else if (checkmatkul3.Checked == true) { countans++; } if (checkmatkul4.Checked == false && txbmatkul4.Text != "") { ValueGetSet.is588 = Convert.ToDouble(txbmatkul4.Text); countans++; } else if (checkmatkul4.Checked == true) { countans++; } if (countans != 0) { ValueGetSet.statequestion3 = true; countans = 0; } Question4 fq4 = new Question4(); fq4.Show(); this.Hide(); }