Пример #1
0
 private void btnThongTinND_ItemClick(object sender, ItemClickEventArgs e)
 {
     DTO.DTONHANVIEN _dto=new DTO.DTONHANVIEN();
     _dto.MANV=clsXuLy.MANV;
     frmTTNV _frm = new frmTTNV(_dto, false, false);
     _frm.StartPosition = FormStartPosition.CenterScreen;
     _frm.ShowDialog();
 }
Пример #2
0
 private void pbxHinh_Click(object sender, EventArgs e)
 {
     if (ht) return;
     frmTTNV _frm = new frmTTNV(dtoNhanVien, false, true);
     _frm.StartPosition = FormStartPosition.CenterScreen;
     _frm.Show();
     ht = true;
     _frm.FormClosed += new FormClosedEventHandler(_frm_FormClosed);
 }
Пример #3
0
 private void btnThemNV_Click(object sender, EventArgs e)
 {
     DTO.DTONHANVIEN _nv = new DTO.DTONHANVIEN();
     _nv.HINH = "";
     _nv.MANV = 0;
     _nv.NGAYVAOLAM = DateTime.Now;
     frmTTNV _frm = new frmTTNV(_nv, true, false);
     _frm.HanhDong += new frmTTNV.HanhHongCTNV(HanhDongCTNV);
     _frm.StartPosition = FormStartPosition.CenterScreen;
     _frm.ShowDialog();
 }