예제 #1
0
 private void btnVer_Click(object sender, EventArgs e)
 {
     if (dgvPres.SelectedRows == null) return;
     frmPrestamos frm = new frmPrestamos();
     frm.idprestamo = (int)dgvPres.SelectedRows[0].Cells[0].Value;
     frm.ShowDialog();
     ActualizarGrid();
 }
예제 #2
0
 private void btnPresMov_Click(object sender, EventArgs e)
 {
     frmPrestamos frm = new frmPrestamos();
     frm.idprestamo = (int)cbxPrestamo.SelectedValue;
     frm.ShowDialog();
     frm.Dispose();
     frm = null;
 }
예제 #3
0
 private void btnNuevo_Click(object sender, EventArgs e)
 {
     frmPrestamos frm = new frmPrestamos();
     frm.ShowDialog();
 }