Exemplo n.º 1
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     if (cboStudentCareer.Text == "")
     {
         MessageBox.Show("Please select the choice of career", "Application Failed!", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         FrmAboutCareer frmAboutCareer = new FrmAboutCareer(cboStudentCareer.Text);
         frmAboutCareer.Show();
         this.Hide();
     }
 }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmAboutCareer frmAboutCareer = new FrmAboutCareer(student);

            frmAboutCareer.Show();
        }