private void ShowStartupPage() { switch (YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.StartupPage) { case "Main Window": break; case "Pathologist Workspace": this.AddPathologistWorkspace(); break; case "Lab Workspace": this.AddLabWorkspace(); break; case "Login Workspace": this.ShowTaskWorkspace(); this.ShowClientOrderWorkspace(); this.ShowLoginWorkspace(); break; case "Flow Workspace": this.AddFlowWorkspace(); break; case "Cutting Workspace": break; case "Gross Workspace": YellowstonePathology.UI.Gross.HistologyGrossPath histologyGrossPath = new Gross.HistologyGrossPath(); histologyGrossPath.Start(); break; case "Monitor Workspace": YellowstonePathology.UI.Monitor.MonitorPath monitorPath = new Monitor.MonitorPath(); monitorPath.LoadAllPages(); monitorPath.Start(); break; case "Cytology Workspace": this.AddCytologyWorkspace(); break; case "Typing Workspace": this.AddTypingWorkspace(); break; case "Report Distribution Workspace": this.ShowReportDistributionWorkspace(); break; } }
private void ShowStartupPage() { switch (YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.StartupPage) { case "Main Window": break; case "Pathologist Workspace": this.AddPathologistWorkspace(); break; case "Lab Workspace": this.AddLabWorkspace(); break; case "Login Workspace": this.ShowTaskWorkspace(); this.ShowClientOrderWorkspace(); this.ShowLoginWorkspace(); break; case "Flow Workspace": this.AddFlowWorkspace(); break; case "Cutting Workspace": break; case "Gross Workspace": YellowstonePathology.UI.Gross.HistologyGrossPath histologyGrossPath = new Gross.HistologyGrossPath(); histologyGrossPath.Start(); break; case "Monitor Workspace": YellowstonePathology.UI.Monitor.MonitorPath monitorPath = new Monitor.MonitorPath(); monitorPath.LoadAllPages(); monitorPath.Start(); break; case "Cytology Workspace": this.AddCytologyWorkspace(); break; case "Typing Workspace": this.AddTypingWorkspace(); break; } }