private void btn_adm_Click(object sender, EventArgs e)
        {
            frm_adm_Log f1 = new frm_adm_Log();

            f1.Show();
            this.Hide();
        }
Пример #2
0
 private void btn_Logout_Click(object sender, EventArgs e)
 {
     if (u == "admin")
     {
         frm_adm_Log f1 = new frm_adm_Log();
         f1.Show();
         this.Hide();
     }
     else if (u == "supervisor")
     {
         frm_spr_Log f1 = new frm_spr_Log();
         f1.Show();
         this.Hide();
     }
     else
     {
         if (u == "guard")
         {
             frm_grd_Log f1 = new frm_grd_Log();
             f1.Show();
             this.Hide();
         }
     }
 }