コード例 #1
0
 private void ResetRecargos()
 {
     _recargos = new RecargosFormaDePago();
     _recargos.ImporteAbonadoChanged    += new EventHandler(_recargos_ImporteAbonadoChanged);
     _recargos.RecargosIncluidosChanged += new EventHandler(_recargos_ImporteAbonadoChanged);
     _recargos.OnModified += new EventHandler(_recargos_OnModified);
 }
コード例 #2
0
 public void Init()
 {
     //_formasDePagos = mz.erp.businessrules.tfi_FormasDePagoEx.GetFormasDePago();
     _recargos = new RecargosFormaDePago();
     _recargos.ImporteAbonadoChanged    += new EventHandler(_recargos_ImporteAbonadoChanged);
     _recargos.RecargosIncluidosChanged += new EventHandler(_recargos_ImporteAbonadoChanged);
     _reglasDeValidacion   = Build_ReglasDeValidacion();
     _creaIdValoresNuevos  = Variables.GetValueBool(this._processParent.Process.ProcessName, this._taskName, "Step.Valores.CreaNuevosValores", true);
     _idFormaDePagoDefault = Variables.GetValueString(this._processParent.Process.ProcessName, this._taskName, "FormaDePago.Default");
     _allowShowVariable    = Variables.GetValueBool(this._processParent.Process.ProcessName, this._taskName, "MuestraFormulario", _allowShowVariable);
 }