コード例 #1
0
        /// <summary>
        /// Boton Ver el historial del paciente seleccionado en el combobox
        /// </summary>


        private void btnGuardarPaciente_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                obtenerValores();
                unPaciente.ActualizarDatosPaciente(unPaciente);
                MessageBox.Show("Éxito al actualizar los datos");
                LimpiarPantalla();
            }
            catch
            {
                throw;
            }
            finally
            {
                MostrarPacientes();
                HabilitacionDeshabilitacion(false, true);
            }
        }