示例#1
0
文件: frmTaxSlab.cs 项目: ewin66/RAPH
        public frmTaxSlab()
        {
            InitializeComponent();

            DALObj           = new DAL.Settings.TaxSlabDAL();
            PAYEReliefDALObj = new PAYEReliefDAL();
        }
示例#2
0
        public frmEmployeePayslip() : base(new CRUDMTemplateParas() { ShowFormAs = eShowFormAs.RegularForm, FormDefaultUI = eFormCurrentUI.NewEntry, FormAllowedUIs = eFormAllowedUIs.NewEntry })
        {
            InitializeComponent();

            DALObj                   = new EmployeePaySlipDAL();
            EmployeeDALObj           = new EmployeeDAL();
            EarningDeductionDALObj   = new EarningDeductionDAL();
            NonCashBenefitDALObj     = new NonCashBenefitDAL();
            PAYEReliefDALObj         = new DAL.Settings.PAYEReliefDAL();
            TaxSlabDALObj            = new DAL.Settings.TaxSlabDAL();
            EmployeeAttendanceDALObj = new EmployeeAttendanceDAL();

            DateTo            = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddDays(-1).Add(new TimeSpan(23, 59, 59));
            DateFrom          = new DateTime(DateTo.Year, DateTo.Month, 1);
            txtDateTitle.Text = DateFrom.ToString("MMMM-yyyy");
        }