예제 #1
0
 private void nextbtn_Click(object sender, EventArgs e)
 {
     //check that the form is filled
     if (staffno_tb.Text != string.Empty || firstname_tb.Text != string.Empty || lastname_tb.Text != string.Empty || phone_tb.Text != string.Empty || gender_cmb.SelectedText != string.Empty || faculty_tb.Text != string.Empty || department_tb.Text != string.Empty)
     {
         ExchangeData(true);
         Enroller.ShowDialog();
     }
     else
     {
         MessageBox.Show("Fill the form completely before you can proceed");
     }
 }
 private void registration_Click(object sender, EventArgs e)
 {
     Enroller.ShowDialog();
 }