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

            form.Show();
            this.Hide();
        }
Exemple #2
0
        private void btn_prs_info_Click(object sender, EventArgs e)
        {
            frm_Prs_info_Blk f1 = new frm_Prs_info_Blk("guard");

            f1.Show();
            con.Dispose();
            this.Hide();
        }
 private void btn_back_Click(object sender, EventArgs e)
 {
     if (c)
     {
         frm_Prs_info_Blk f1 = new frm_Prs_info_Blk(u);
         f1.Show();
         this.Hide();
     }
     else
     {
         frm_prs_info_mpl f1 = new frm_prs_info_mpl(u);
         f1.Show();
         this.Hide();
     }
 }
Exemple #4
0
 private void btn_back_Click(object sender, EventArgs e)
 {
     if (u == "admin")
     {
         frm_Prs_info_Blk f1 = new frm_Prs_info_Blk("admin");
         f1.Show();
         this.Hide();
     }
     else if (u == "supervisor")
     {
         frm_Prs_info_Blk f1 = new frm_Prs_info_Blk("supervisor");
         f1.Show();
         this.Hide();
     }
     else
     {
         if (u == "guard")
         {
             frm_Prs_info_Blk f1 = new frm_Prs_info_Blk("guard");
             f1.Show();
             this.Hide();
         }
     }
 }