コード例 #1
0
ファイル: FinancForm.cs プロジェクト: Alex-Palacios/Prendasal
 private void NUEVO(object sender, EventArgs e)
 {
     ACCION = eOperacion.INSERT;
     ConfirmarFinanc financ = new ConfirmarFinanc();
     financ.ShowDialog();
 }
コード例 #2
0
ファイル: FinancForm.cs プロジェクト: Alex-Palacios/Prendasal
 private void EDITAR(object sender, EventArgs e)
 {
     if (tblFinanc.CurrentCell != null && tblFinanc.SelectedRows.Count == 1)
     {
         cargarSelected();
         if (SELECTED != null && SELECTED.ESTADO != eEstadoMovCash.HISTORICO)
         {
             ACCION = eOperacion.UPDATE;
             ConfirmarFinanc financ = new ConfirmarFinanc(SELECTED);
             financ.ShowDialog();
         }
         else
         {
             MessageBox.Show("FINANCIAMIENTO HISTORICO O INVALIDO", "DENEGADO", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         }
     }
 }