private void btn_back_Click(object sender, EventArgs e)
        {
            Frm_Data_Options form = new Frm_Data_Options(u);

            form.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
 private void btn_prs3_Click(object sender, EventArgs e)
 {
     if (u == "admin")
     {
         Frm_Data_Options f1 = new Frm_Data_Options("admin");
         f1.Show();
         this.Hide();
     }
     else if (u == "supervisor")
     {
         Frm_Data_Options f1 = new Frm_Data_Options("supervisor");
         f1.Show();
         this.Hide();
     }
     else
     {
         if (u == "guard")
         {
             Frm_Data_Options f1 = new Frm_Data_Options("guard");
             f1.Show();
             this.Hide();
         }
     }
 }