Ejemplo n.º 1
0
        public static PlanillaEncabezadoBL GetInstance()
        {
            if (singletonInstance == null)
                singletonInstance = new PlanillaEncabezadoBL();

            return singletonInstance;
        }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmCalculoAguinaldo()
 {
     this.planillaEncabezadoBL =  PlanillaEncabezadoBL.GetInstance();
     this.sucursalBL =  SucursalBL.GetInstance();
     this.periodoBL =  PeriodoBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
     this.bancoBL =  BancoBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmCalculoFalsoPlanillaJefatura()
 {
     this.planillaEncabezadoBL =  PlanillaEncabezadoBL.GetInstance();
     this.sucursalBL =  SucursalBL.GetInstance();
     this.periodoBL =  PeriodoBL.GetInstance();
     this.bancoBL =  BancoBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmResumenSucursalPuesto()
 {
     this.planillaEncabezadoBL =  PlanillaEncabezadoBL.GetInstance();
     this.sucursalBL =  SucursalBL.GetInstance();
     this.periodoBL =  PeriodoBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
     this.puestoBL =  PuestoBL.GetInstance();
 }
 /// <summary>
 /// constructor
 /// </summary>
 public FrmControlEnvioCorreo()
 {
     this.planillaEncabezadoBL =  PlanillaEncabezadoBL.GetInstance();
     this.sucursalBL =  SucursalBL.GetInstance();
     this.periodoBL =  PeriodoBL.GetInstance();
     this.colaboradorBL =  ColaboradorBL.GetInstance();
     this.puestoBL =  PuestoBL.GetInstance();
 }
 /// <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();
 }