Esempio n. 1
0
 private void NavigateWorkbench()
 {
     try
     {
         if (PluginContext.Host.Navigate(this.WorkbenchView))
         {
             this.isSaveCommandActivated = false;
             this.ShowContextMenu();
             this.lastNavigation = LastNavigation.Workbench;
             this.LoadDefaultPrescriptions();
         }
     }
     catch (Exception ex) { this.Handle.Error(ex); }
 }
Esempio n. 2
0
 private void NavigateAddPrescription()
 {
     try
     {
         if (PluginContext.Host.Navigate(this.AddPrescriptionView))
         {
             this.isSaveCommandActivated = true;
             this.AddPrescriptionView.As <AddPrescriptionViewModel>().Refresh();
             this.ShowContextMenu();
             this.lastNavigation = LastNavigation.AddPrescription;
         }
     }
     catch (Exception ex) { this.Handle.Error(ex); }
 }
Esempio n. 3
0
 public PrescriptionManager()
     : base()
 {
     this.lastNavigation = LastNavigation.None;
 }
Esempio n. 4
0
 public PrescriptionManager()
     : base()
 {
     this.lastNavigation = LastNavigation.None;
 }
Esempio n. 5
0
 private void NavigateWorkbench()
 {
     try
     {
         if (PluginContext.Host.Navigate(this.WorkbenchView))
         {
             this.isSaveCommandActivated = false;
             this.ShowContextMenu();
             this.lastNavigation = LastNavigation.Workbench;
             this.LoadDefaultPrescriptions();
         }
     }
     catch (Exception ex) { this.Handle.Error(ex); }
 }
Esempio n. 6
0
 private void NavigateAddPrescription()
 {
     try
     {
         if (PluginContext.Host.Navigate(this.AddPrescriptionView))
         {
             this.isSaveCommandActivated = true;
             this.AddPrescriptionView.As<AddPrescriptionViewModel>().Refresh();
             this.ShowContextMenu();
             this.lastNavigation = LastNavigation.AddPrescription;
         }
     }
     catch (Exception ex) { this.Handle.Error(ex); }
 }