Example #1
0
 private void btn_Search_Click(object sender, EventArgs e)
 {
     if (rdbtn_Expert.Checked)
     {
         frm_SearchActor search = new frm_SearchActor("Expert", lstVw_ActorsList);
         search.ShowDialog();
     }
     else//Modify a Technician account.
     {
         frm_SearchActor search = new frm_SearchActor("Technicien", lstVw_ActorsList);
         search.ShowDialog();
     }
 }
 private void btn_Search_Click(object sender, EventArgs e)
 {
     if (rdbtn_Expert.Checked)
     {
         frm_SearchActor search = new frm_SearchActor("Expert",lstVw_ActorsList);
         search.ShowDialog();
     }
     else//Modify a Technician account.
     {
         frm_SearchActor search = new frm_SearchActor("Technicien",lstVw_ActorsList);
         search.ShowDialog();
     }
 }