private void btn_wrk_info_Click(object sender, EventArgs e) { frm_work_Info_blk f1 = new frm_work_Info_blk("guard"); f1.Show(); con.Dispose(); this.Hide(); }
private void btn_back_Click(object sender, EventArgs e) { if (c) { frm_work_Info_blk f1 = new frm_work_Info_blk(u); f1.Show(); this.Hide(); } else { frm_work_assign_mpl f1 = new frm_work_assign_mpl(u); f1.Show(); this.Hide(); } }
private void btn_back_Click(object sender, EventArgs e) { if (u == "admin") { frm_work_Info_blk f1 = new frm_work_Info_blk("admin"); f1.Show(); this.Hide(); } else if (u == "supervisor") { frm_work_Info_blk f1 = new frm_work_Info_blk("supervisor"); f1.Show(); this.Hide(); } else { if (u == "guard") { frm_work_Info_blk f1 = new frm_work_Info_blk("guard"); f1.Show(); this.Hide(); } } }