public static ProductoBL GetInstance() { if (singletonInstance == null) singletonInstance = new ProductoBL(); 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(); }
/// <summary> /// constructor /// </summary> public PlanillaDetalleBL() { this.productoBL = ProductoBL.GetInstance(); this.planillaDetalleDA = new PlanillaDetalleDA(); }