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); } }
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); } }
public PrescriptionManager() : base() { this.lastNavigation = LastNavigation.None; }
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); } }