public void AddPathologistWorkspace() { if (this.m_TabItemPathologist.Parent != null) { this.m_TabItemPathologist.Focus(); } else { this.m_PathologistWorkspace = new YellowstonePathology.UI.Surgical.PathologistWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemPathologist); this.m_TabItemPathologist.Content = this.m_PathologistWorkspace; this.TabControlLeftWorkspace.Items.Add(this.m_TabItemPathologist); this.m_TabItemPathologist.Focus(); } }
/*public void AddScanProcessingWorkspace() { if (this.m_TabItemScanning.Parent != null) { this.m_TabItemScanning.Focus(); } else { this.m_ScanProcessingWorkspace = UI.Scanning.ScanProcessingWorkspace.Instance; this.m_TabItemScanning.Content = this.m_ScanProcessingWorkspace; this.TabControlLeftWorkspace.Items.Add(this.m_TabItemScanning); this.m_TabItemScanning.Focus(); } }*/ public void AddPathologistWorkspace() { if (this.m_TabItemPathologist.Parent != null) { this.m_TabItemPathologist.Focus(); } else { this.m_PathologistWorkspace = new YellowstonePathology.UI.Surgical.PathologistWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemPathologist); this.m_TabItemPathologist.Content = this.m_PathologistWorkspace; this.TabControlLeftWorkspace.Items.Add(this.m_TabItemPathologist); this.m_TabItemPathologist.Focus(); } }