private void trìnhĐộToolStripMenuItem1_Click(object sender, EventArgs e) { if (UserProfile.permission == 1) { ThongTinTrinhDo trinhdoForm = new ThongTinTrinhDo(nhanVienServices, thongTinTrinhDoServices, trinhDoServices); trinhdoForm.ShowDialog(this); } else { MessageBox.Show("Bạn Không Có Quyền Sử Dụng Chức Năng Này", "Thông Báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void thêmThôngTinTrìnhĐộToolStripMenuItem_Click(object sender, EventArgs e) { ThongTinTrinhDo trinhDoForm = new ThongTinTrinhDo(nhanVienServices, thongTinTrinhDoServices, trinhDoServices); trinhDoForm.ShowDialog(this); }