Пример #1
0
        public static DeduccionBL GetInstance()
        {
            if (singletonInstance == null)
                singletonInstance = new DeduccionBL();

            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 FrmCatalogoDeduccion()
 {
     this.deduccionBL = DeduccionBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmConsultaDeduccion()
 {
     this.deduccionBL =  DeduccionBL.GetInstance();
 }