コード例 #1
0
 public Entities.EntidadLimiteCredito EditarLimiteCreditoProveedor(Entities.EntidadLimiteCredito LimCredProveedor)
 {
     try
     {
         DViewCLCliente           = new MAN009DViewLCredito(MAN009DViewLCredito.TLCredito.Proveedor, MAN009DViewLCredito.TOpcion.Editar);
         DViewCLCliente.Presenter = this;
         DViewCLCliente.Item      = LimCredProveedor;
         DViewCLCliente.LoadView();
         if (DViewCLCliente.ShowDialog() == DialogResult.OK)
         {
             return(DViewCLCliente.Item);
         }
         return(null);
     }
     catch (Exception)
     { throw; }
 }
コード例 #2
0
 public Entities.EntidadLimiteCredito NuevoLimiteCreditoCliente(Entities.EntidadLimiteCredito LimCredCliente)
 {
     try
     {
         DViewCLCliente           = new MAN009DViewLCredito(MAN009DViewLCredito.TLCredito.Cliente, MAN009DViewLCredito.TOpcion.Nuevo);
         DViewCLCliente.Presenter = this;
         DViewCLCliente.Item      = LimCredCliente;
         DViewCLCliente.LoadView();
         if (DViewCLCliente.ShowDialog() == DialogResult.OK)
         {
             return(DViewCLCliente.Item);
         }
         return(null);
     }
     catch (Exception)
     { throw; }
 }