コード例 #1
0
 private void NUEVO(object sender, EventArgs e)
 {
     ACCION = eOperacion.INSERT;
     ConfirmarRemesa financ = new ConfirmarRemesa();
     financ.ShowDialog();
 }
コード例 #2
0
 private void EDITAR(object sender, EventArgs e)
 {
     if (tblRemesas.CurrentCell != null && tblRemesas.SelectedRows.Count == 1)
     {
         cargarSelected();
         if (SELECTED != null && SELECTED.ESTADO != eEstadoMovCash.HISTORICO)
         {
             ACCION = eOperacion.UPDATE;
             ConfirmarRemesa financ = new ConfirmarRemesa(SELECTED);
             financ.ShowDialog();
         }
         else
         {
             MessageBox.Show("REMESA HISTORICA O INVALIDO", "DENEGADO", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         }
     }
 }