Exemplo n.º 1
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 QuyetDinhChung()
        {
            InitializeComponent();
            oQDChung    = new Business.HDQD.QuyetDinhChung();
            oLoaiQD     = new Business.HDQD.LoaiQuyetDinh();
            oLoaiPhuCap = new Business.HDQD.LoaiPhuCap();
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
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();
        }
Exemplo n.º 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 QuyetDinhChung()
        {
            InitializeComponent();
            oQDChung = new Business.HDQD.QuyetDinhChung();
            oLoaiQD = new Business.HDQD.LoaiQuyetDinh();
            oLoaiPhuCap = new Business.HDQD.LoaiPhuCap();
        }
Exemplo n.º 5
0
        private void InitObject(bool p_loadcbo_loaiqd)
        {
            oChucdanh     = new ChucDanh();
            oChucvu       = new ChucVu();
            oDonvi        = new DonVi();
            oLoaiPC       = new Business.HDQD.LoaiPhuCap();
            oQuyetDinh    = new Business.HDQD.QuyetDinh();
            oLoaiQD       = new Business.HDQD.LoaiQuyetDinh();
            ucDinhNghiaCT = new DinhNghiaCT();

            dtPhuCap = new DataTable();
            dtLoaiPC = new DataTable();

            dtLoaiPC = oLoaiPC.GetList_Cbo();
            PreapreDataSource();
            PrepareDataTablePhuCap();

            if (p_loadcbo_loaiqd)
            {
                LoadCbo_Loai_QD();
            }
        }
Exemplo n.º 6
0
 public DanhSachQuyetDinh()
 {
     InitializeComponent();
     oQuyetDinh     = new Business.HDQD.QuyetDinh();
     oLoaiQuyetDinh = new Business.HDQD.LoaiQuyetDinh();
 }
Exemplo n.º 7
0
 public NVTheo_LoaiQD()
 {
     InitializeComponent();
     oLoaiQD = new Business.HDQD.LoaiQuyetDinh();
     oBaoCao = new Business.BaoCao();
 }
Exemplo n.º 8
0
        private void InitObject(bool p_loadcbo_loaiqd)
        {
            oChucdanh = new ChucDanh();
            oChucvu = new ChucVu();
            oDonvi = new DonVi();
            oLoaiPC = new Business.HDQD.LoaiPhuCap();
            oQuyetDinh = new Business.HDQD.QuyetDinh();
            oLoaiQD = new Business.HDQD.LoaiQuyetDinh();
            ucDinhNghiaCT = new DinhNghiaCT();

            dtPhuCap = new DataTable();
            dtLoaiPC = new DataTable();

            dtLoaiPC = oLoaiPC.GetList_Cbo();
            PreapreDataSource();
            PrepareDataTablePhuCap();

            if (p_loadcbo_loaiqd)
            { LoadCbo_Loai_QD(); }

        }
Exemplo n.º 9
0
 public NVTheo_LoaiQD()
 {
     InitializeComponent();
     oLoaiQD = new Business.HDQD.LoaiQuyetDinh();
     oBaoCao = new Business.BaoCao();
 }
Exemplo n.º 10
0
 public DanhSachQuyetDinh()
 {
     InitializeComponent();
     oQuyetDinh = new Business.HDQD.QuyetDinh();
     oLoaiQuyetDinh = new Business.HDQD.LoaiQuyetDinh();
 }
Exemplo n.º 11
0
 /// <summary>
 /// Refresh Data Source cho dtg sau moi lan thao tac
 /// </summary>
 private void RefreshDataSource()
 {
     Business.HDQD.LoaiQuyetDinh loaiqd = new Business.HDQD.LoaiQuyetDinh();    // khong dung chung oChucVu duoc ???
     dtDSLoaiQuyetDinh = loaiqd.GetList();
     PrepareDataSource();
 }
Exemplo n.º 12
0
        /// <summary>
        /// Refresh Data Source cho dtg sau moi lan thao tac
        /// </summary>
        private void RefreshDataSource()
        {
            Business.HDQD.LoaiQuyetDinh loaiqd = new Business.HDQD.LoaiQuyetDinh();    // khong dung chung oChucVu duoc ???
            dtDSLoaiQuyetDinh = loaiqd.GetList();
            PrepareDataSource();

        }