Exemple #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);
        }
Exemple #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();
        }
Exemple #3
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;
        }
Exemple #4
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();
        }
Exemple #5
0
 public BacHeSo()
 {
     InitializeComponent();
     oBacHeSo = new Business.Luong.BacHeSo();
     oNgach   = new Business.Luong.Ngach();
 }
Exemple #6
0
 private void RefreshDataSource()
 {
     Business.Luong.BacHeSo bacheso = new Business.Luong.BacHeSo();
     dtDSBacHeSo = bacheso.GetData();
     PrepareDataSource();
 }
Exemple #7
0
 public BacHeSo()
 {
     InitializeComponent();
     oBacHeSo = new Business.Luong.BacHeSo();
     oNgach = new Business.Luong.Ngach();
 }
Exemple #8
0
        private void RefreshDataSource()
        {
            Business.Luong.BacHeSo bacheso = new Business.Luong.BacHeSo();
            dtDSBacHeSo = bacheso.GetData();
            PrepareDataSource();

        }