예제 #1
0
 private void btnNuevo_Click(object sender, EventArgs e)
 {
     try
     {
         var frmPrestamoMant = new FrmPrestamoMant(this);
         frmPrestamoMant.MdiParent = this.MdiParent;
         frmPrestamoMant.Show();
     }
     catch (Exception ex)
     {
         Util.ErrorMessage(ex.Message);
     }
 }
예제 #2
0
 private void Editar(BE.UI.Prestamo uiPrestamo)
 {
     try
     {
         var frmPrestamoMant = new FrmPrestamoMant(this);
         frmPrestamoMant.MdiParent = this.MdiParent;
         frmPrestamoMant.Show();
         frmPrestamoMant.Cargar(uiPrestamo);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }