//Thêm Nhân viên private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e) { Xem(); DataRow m_Row = m_NhanVienControl.ThemDongMoi(); m_Row["MaNhanVien"] = ""; m_Row["HinhAnh"] = ""; m_Row["HoTenNhanVien"] = ""; m_Row["TenGoiKhac"] = ""; m_Row["MaGioiTinh"] = ""; m_Row["NgaySinh"] = DateTime.Today; m_Row["NoiSinh"] = ""; m_Row["SoChungMinhNhanDan"] = ""; m_Row["NoiCap"] = ""; m_Row["NgayCap"] = DateTime.Today; m_Row["MaDanToc"] = ""; m_Row["MaTonGiao"] = ""; m_Row["QueQuan"] = ""; m_Row["HoKhauThuongTru"] = ""; m_Row["NoiOHienTai"] = ""; m_Row["DienThoaiNhaRieng"] = ""; m_Row["DienThoaiDiDong"] = ""; m_Row["MaTinhTrangHonNhan"] = ""; m_Row["MaThanhPhanXuatThan"] = ""; m_Row["MaDienUuTienCuaGiaDinh"] = ""; m_Row["MaDienUuTienCuaBanThan"] = ""; m_Row["NangKhieu"] = ""; m_Row["NgayHopDong"] = DateTime.Today; m_Row["NgayTuyenDung"] = DateTime.Today; m_Row["MaHinhThucTuyenDung"] = ""; m_Row["MaDonVi"] = ""; m_Row["MaCongViec"] = ""; m_Row["NgayBoNhiemVaoNgach"] = DateTime.Today; m_Row["NgayVeCoQuanHienTai"] = DateTime.Today; m_Row["MaLoaiCanBo"] = ""; m_Row["CongViecHienNay"] = ""; m_Row["MaLoaiNghiBaoHiemXaHoi"] = ""; m_Row["MaChucVu"] = ""; m_Row["HeSoPhuCapChucVu"] = ""; m_Row["NgayBoNhiemChucVuHienTai"] = DateTime.Today; m_Row["LanBoNhiemCVCQHienTai"] = ""; m_Row["ChucVuLanhDaoKiemNhiem"] = ""; m_Row["ChucVuChinhQuyenCaoNhat"] = ""; m_Row["NgayVaoDang"] = DateTime.Today; m_Row["NgayChinhThuc"] = DateTime.Today; m_Row["ChucVuDangHienTai"] = ""; m_Row["DoanVien"] = ""; m_Row["NgayThamGiaTCCTXH"] = DateTime.Today; m_Row["TenTCCTXH"] = ""; m_Row["ChucVuDoan"] = ""; m_Row["DangDTBD"] = ""; m_Row["MaTrinhDoHocVan"] = ""; m_Row["MaTrinhDoChuyenMon"] = ""; m_Row["MaTrinhDoChinhTri"] = ""; m_Row["MaTrinhDoQuanLyNhaNuoc"] = ""; m_Row["MaTrinhDoTinHoc"] = ""; m_Row["MaTrinhDoNgoaiNgu"] = ""; m_Row["MaNgach"] = ""; m_Row["BacLuong"] = ""; m_Row["HeSoLuong"] = ""; m_Row["LuongCongChucDuBi"] = ""; m_Row["ChenhLechBaoLuuHeSoLuong"] = ""; m_Row["HuongLuongTuNgay"] = DateTime.Today; m_Row["MocTinhNangLuongLanSau"] = DateTime.Today; m_Row["HeSoPhuCapThamNienVuotKhung"] = ""; m_Row["HeSoPhuCapKiemNhiem"] = ""; m_Row["HeSoPhuCapKhac"] = ""; m_Row["SoSoBHXH"] = ""; m_Row["NgayDongBHXH"] = DateTime.Today; m_NhanVienControl.ThemNhanVien(m_Row); bindingNavigatorNhanVien.BindingSource.MoveLast(); this.Allow(true); }