示例#1
0
        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);
        }
示例#2
0
        private void ButtonVolver_Click(object sender, RoutedEventArgs e)
        {
            SolicitudesOrdenes solicitudesOrdenes = new SolicitudesOrdenes();

            Layout.Frame.Navigate(solicitudesOrdenes);
        }