public static PlanillaDetalleBL GetInstance() { if (singletonInstance == null) singletonInstance = new PlanillaDetalleBL(); return singletonInstance; }
/// <summary> /// constructor /// </summary> public FrmCalculoLiquidacion() { this.planillaEncabezadoBL = PlanillaEncabezadoBL.GetInstance(); this.sucursalBL = SucursalBL.GetInstance(); this.deduccionBL = DeduccionBL.GetInstance(); this.periodoBL = PeriodoBL.GetInstance(); this.colaboradorBL = ColaboradorBL.GetInstance(); this.bancoBL = BancoBL.GetInstance(); this.productoBL = ProductoBL.GetInstance(); this.planillaDetalleBL = PlanillaDetalleBL.GetInstance(); }
/// <summary> /// constructor /// </summary> public FrmCalculoPlanillaHistorico() { this.listaDetalles = new List<PlanillaDetalle>(); this.planillaEncabezadoBL = PlanillaEncabezadoBL.GetInstance(); this.sucursalBL = SucursalBL.GetInstance(); this.deduccionBL = DeduccionBL.GetInstance(); this.periodoBL = PeriodoBL.GetInstance(); this.colaboradorBL = ColaboradorBL.GetInstance(); this.bancoBL = BancoBL.GetInstance(); this.productoBL = ProductoBL.GetInstance(); this.planillaDetalleBL = PlanillaDetalleBL.GetInstance(); }