daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void btnGuardar_Click(object sender, EventArgs e)
  2.     {
  3.  
  4.  
  5.  
  6.  
  7.         DialogResult result = new DialogResult();
  8.         do {
  9.             DateTime fecha = new DateTime();
  10.             fecha = DateTime.Now;
  11.             limpiarDatos();
  12.             ObjDatos = new Datos(int.Parse(txtNumCuenta.Text), txtCarrera.Text, CbArea.SelectedItem.ToString(), int.Parse(txtEdad.Text), CbSexo.SelectedItem.ToString(), CBPadecimiento.SelectedItem.ToString(), TxtManejo.Text, CbAtendio.SelectedItem.ToString(), fecha);
  13.             ObjDatos.guardar_datos();
  14.  
  15.             MessageBox.Show("Datos  guardados correctamente ¿guardar más datos?", "datos", MessageBoxButtons.YesNo);
  16.         } while (result == DialogResult.Yes);
  17.     }
  18.  
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top