示例#1
0
        private void InitObject()
        {
            lstMaNV              = new List <string>();
            oTinhLuong           = new Business.Luong.TinhLuong();
            oFTP                 = new Business.FTP();
            oFile                = new Business.CNVC.CNVC_File();
            oCNVC_QTr_CongTac_OU = new Business.CNVC.CNVC_QTr_CongTac_OU();
            oBacHeSo             = new Business.Luong.BacHeSo();
            dtBacHeSo            = new DataTable();
            dtFile               = new DataTable();
            dtQtrCtac            = new DataTable();

            kvpLuongID     = new List <KeyValuePair <string, int> >();
            kvpDV          = new List <KeyValuePair <string, string> >();
            kvpCV          = new List <KeyValuePair <string, string> >();
            kvpBacCu       = new List <KeyValuePair <string, int> >();
            kvpNgachCu     = new List <KeyValuePair <string, string> >();
            kvpHSCu        = new List <KeyValuePair <string, double> >();
            kvpNgayHuongCu = new List <KeyValuePair <string, DateTime> >();

            kvpBacMoi       = new List <KeyValuePair <string, int> >();
            kvpNgachMoi     = new List <KeyValuePair <string, string> >();
            kvpHSMoi        = new List <KeyValuePair <string, double> >();
            kvpNgayHuongMoi = new List <KeyValuePair <string, DateTime> >();

            dtLuong = new DataTable();

            oLoaiQuyetDinh = new Business.HDQD.LoaiQuyetDinh();


            thongTinCNVC1.txt_HoTen.KeyUp += new KeyEventHandler(txt_HoTen_KeyUp);
        }
示例#2
0
        void InitObject_AfterSaving()
        {
            lstMaNV              = new List <string>();
            oTinhLuong           = new Business.Luong.TinhLuong();
            oFTP                 = new Business.FTP();
            oFile                = new Business.CNVC.CNVC_File();
            oCNVC_QTr_CongTac_OU = new Business.CNVC.CNVC_QTr_CongTac_OU();
            oBacHeSo             = new Business.Luong.BacHeSo();
            dtFile               = new DataTable();

            dtQtrCtac = new DataTable();

            kvpLuongID     = new List <KeyValuePair <string, int> >();
            kvpDV          = new List <KeyValuePair <string, string> >();
            kvpCV          = new List <KeyValuePair <string, string> >();
            kvpBacCu       = new List <KeyValuePair <string, int> >();
            kvpNgachCu     = new List <KeyValuePair <string, string> >();
            kvpHSCu        = new List <KeyValuePair <string, double> >();
            kvpNgayHuongCu = new List <KeyValuePair <string, DateTime> >();

            kvpBacMoi       = new List <KeyValuePair <string, int> >();
            kvpNgachMoi     = new List <KeyValuePair <string, string> >();
            kvpHSMoi        = new List <KeyValuePair <string, double> >();
            kvpNgayHuongMoi = new List <KeyValuePair <string, DateTime> >();

            dtLuong = new DataTable();

            oLoaiQuyetDinh = new Business.HDQD.LoaiQuyetDinh();
        }
示例#3
0
文件: BoNhiem.cs 项目: Fucmeo/ou-qlns
 public static string strMaNVOld, strHoOld, strTenOld; // gia tri ho ten luc moi tim, dung de so sanh khi nhap phong TH ng dung sua thong tin sau khi tim duoc cnvc
                                                         // se duoc gan khi double click nv o gridview ds
 public BoNhiem()
 {
     InitializeComponent();
     oDonVi = new DonVi();
     oChucVu = new ChucVu();
     oKiemNhiem = new Business.HDQD.KiemNhiem();
     oFTP = new Business.FTP();
 }
示例#4
0
 public static string strMaNVOld, strHoOld, strTenOld; // gia tri ho ten luc moi tim, dung de so sanh khi nhap phong TH ng dung sua thong tin sau khi tim duoc cnvc
                                                       // se duoc gan khi double click nv o gridview ds
 public BoNhiem()
 {
     InitializeComponent();
     oDonVi     = new DonVi();
     oChucVu    = new ChucVu();
     oKiemNhiem = new Business.HDQD.KiemNhiem();
     oFTP       = new Business.FTP();
 }
示例#5
0
 public DieuDong()
 {
     InitializeComponent();
     oDonVi    = new DonVi();
     oChucVu   = new ChucVu();
     oChucDanh = new ChucDanh();
     //oKiemNhiem = new Business.HDQD.KiemNhiem();
     oFTP = new Business.FTP();
     InitObjects();
 }
示例#6
0
        public ThanhLapDonVi()
        {
            InitializeComponent();
            oDonvi      = new DonVi();
            dtDonVi     = new DataTable();
            dsDonVi_new = new List <DonVi>();

            oFTP   = new Business.FTP();
            oFile  = new Business.HDQD.QD_File();
            dtFile = new DataTable();
            Paths  = new List <KeyValuePair <string, bool?> >();
        }
示例#7
0
        public ThanhLapDonVi()
        {
            InitializeComponent();
            oDonvi = new DonVi();
            dtDonVi = new DataTable();
            dsDonVi_new = new List<DonVi>();

            oFTP = new Business.FTP();
            oFile = new Business.HDQD.QD_File();
            dtFile = new DataTable();
            Paths = new List<KeyValuePair<string, bool?>>();
        }
示例#8
0
        public DoiThongTinDV()
        {
            InitializeComponent();
            oDonVi     = new DonVi();
            oChucVu    = new ChucVu();
            oQuyetDinh = new Business.HDQD.QuyetDinh();
            dtDonVi    = oDonVi.GetActiveDonVi();
            dtChucVu   = oChucVu.GetList();
            oFTP       = new Business.FTP();
            oFile      = new Business.HDQD.QD_File();
            dtFile     = new DataTable();
            Paths      = new List <KeyValuePair <string, bool?> >();

            TLPTenColCount    = tableLP_ThayDoiTen.ColumnCount;
            TLPCVColCount     = tableLP_ThayDoiCV.ColumnCount;
            TLPCapBacColCount = tableLP_ThayDoiCapBac.ColumnCount;
        }
示例#9
0
        public DoiThongTinDV()
        {
            InitializeComponent();
            oDonVi = new DonVi();
            oChucVu = new ChucVu();
            oQuyetDinh = new Business.HDQD.QuyetDinh();
            dtDonVi = oDonVi.GetActiveDonVi();
            dtChucVu = oChucVu.GetList();
            oFTP = new Business.FTP();
            oFile = new Business.HDQD.QD_File();
            dtFile = new DataTable();
            Paths = new List<KeyValuePair<string, bool?>>();

            TLPTenColCount = tableLP_ThayDoiTen.ColumnCount;
            TLPCVColCount = tableLP_ThayDoiCV.ColumnCount;
            TLPCapBacColCount = tableLP_ThayDoiCapBac.ColumnCount;
        }
示例#10
0
        private void InitObject()
        {
            oHopdong  = new Business.HDQD.CNVC_HopDong();
            oChucdanh = new ChucDanh();
            oChucvu   = new ChucVu();
            oDonvi    = new DonVi();
            oBacHeSo  = new Business.Luong.BacHeSo();
            dtBacHeSo = new DataTable();
            oLoaiPC   = new Business.HDQD.LoaiPhuCap();
            oFile     = new Business.CNVC.CNVC_File();
            dtLoaiPC  = new DataTable();
            dtPhuCap  = new DataTable();
            oFTP      = new Business.FTP();

            dtLoaiPC  = oLoaiPC.GetList_Cbo();
            dtDSDonVi = new DataTable();

            PreapreDataSource();
            Prepare_Data_BacHeSo();
            PrepareDataTablePhuCap();
            thongTinQuyetDinh1.dTP_NgayHieuLuc.ValueChanged += dTP_NgayHieuLuc_ValueChanged;
        }
示例#11
0
        private void InitObject()
        {
            oHopdong     = new Business.HDQD.CNVC_HopDong();
            oLoaihopdong = new Business.HDQD.LoaiHopDong();
            oChucdanh    = new ChucDanh();
            oChucvu      = new ChucVu();
            oDonvi       = new DonVi();
            oFTP         = new Business.FTP();
            oFile        = new Business.CNVC.CNVC_File();
            oBacHeSo     = new Business.Luong.BacHeSo();
            dtBacHeSo    = new DataTable();

            oLoaiPC     = new Business.HDQD.LoaiPhuCap();
            dtPhuCap    = new DataTable();
            dtLoaiPC    = new DataTable();
            dtDonVi     = new DataTable();
            oCNVCPhuCap = new Business.HDQD.CNVC_PhuCap();

            dtLoaiPC = oLoaiPC.GetList_Cbo();

            PreapreDataSource();
            Prepare_Data_BacHeSo();
            PrepareDataTablePhuCap();
        }