private void btnEditar_Click(object sender, EventArgs e)
 {
     try
     {
         cargarDatosGridDiagnostico();
         formDiagnostico formDiagn = new formDiagnostico();
         formDiagn.abrirParaEditar(unDiagnostico);
         formDiagn.Show();
         btnLimpiar_Click(sender, e);
         unDiagnostico.Dispose();
     }
     catch (Exception em)
     {
         MessageBox.Show(em.Message, "Error");
     }
 }
 private void btnNuevo_Click(object sender, EventArgs e)
 {
     try
     {
         formDiagnostico form = new formDiagnostico();
         form.abrirParaNuevo();
         form.Show();
     }
     catch (Exception es)
     {
         MessageBox.Show(es.Message, "Error");
     }
 }