コード例 #1
0
ファイル: frmEmployeePayslip.cs プロジェクト: ewin66/RAPH
        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");
        }
コード例 #2
0
 public frmEarningDeduction()
 {
     InitializeComponent();
     DALObject    = new EarningDeductionDAL();
     FirstControl = txtEarningDeductionName;
 }