private void ButtonCrear_Click(object sender, RoutedEventArgs e) { TextRange textRange = new TextRange( Orden.Document.ContentStart, Orden.Document.ContentEnd ); DbContextSingleton.dbContext.GuardarOrden(_idSolicitud, textRange.Text, _idPaciente); MessageBox.Show("Orden Guardada exitosamente"); SolicitudesOrdenes solicitudesOrdenes = new SolicitudesOrdenes(); Layout.Frame.Navigate(solicitudesOrdenes); }
private void ButtonVolver_Click(object sender, RoutedEventArgs e) { SolicitudesOrdenes solicitudesOrdenes = new SolicitudesOrdenes(); Layout.Frame.Navigate(solicitudesOrdenes); }