예제 #1
0
 private void thêmHĐLĐToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (UserProfile.permission == 1)
     {
         QuanLyHopDong hopDongForm = new QuanLyHopDong(nhanVienServices, hopDongServices, loaiHopDongServices, null);
         hopDongForm.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);
     }
 }
예제 #2
0
        private void btnHopDongList_Click(object sender, EventArgs e)
        {
            QuanLyHopDong contractForm = new QuanLyHopDong(nhanVienServices, hopDongServices, loaiHopDongServices, empDetails);

            contractForm.ShowDialog(this);
        }