예제 #1
0
        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();
 }
예제 #4
0
 /// <summary>
 /// constructor
 /// </summary>
 public PlanillaDetalleBL()
 {
     this.productoBL =  ProductoBL.GetInstance();
     this.planillaDetalleDA = new PlanillaDetalleDA();
 }