Beispiel #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);
        }
Beispiel #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();
        }
Beispiel #3
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();
 }
Beispiel #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();
 }
Beispiel #5
0
 public DieuDong()
 {
     InitializeComponent();
     oDonVi    = new DonVi();
     oChucVu   = new ChucVu();
     oChucDanh = new ChucDanh();
     //oKiemNhiem = new Business.HDQD.KiemNhiem();
     oFTP = new Business.FTP();
     InitObjects();
 }
Beispiel #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?> >();
        }
Beispiel #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?>>();
        }
Beispiel #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;
        }
Beispiel #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;
        }
Beispiel #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;
        }
Beispiel #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();
        }