コード例 #1
0
        public void AddCytologyWorkspace()
        {
            if (this.m_TabItemCytology.Parent == null)
            {
                this.m_CytologyWorkspace       = new Cytology.CytologyWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemCytology);
                this.m_TabItemCytology.Content = this.m_CytologyWorkspace;

                this.TabControlLeftWorkspace.Items.Add(this.m_TabItemCytology);

                this.m_TabItemCytology.Focus();
            }
            this.m_TabItemCytology.Focus();
        }
コード例 #2
0
        public void AddCytologyWorkspace()
        {
            if (this.m_TabItemCytology.Parent == null)
            {
                this.m_CytologyWorkspace = new Cytology.CytologyWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemCytology);
                this.m_TabItemCytology.Content = this.m_CytologyWorkspace;

                this.TabControlLeftWorkspace.Items.Add(this.m_TabItemCytology);
                this.CommandBindings.Add(this.m_CytologyWorkspace.CommandBindingShowCaseDocument);

                this.m_TabItemCytology.Focus();
            }
            this.m_TabItemCytology.Focus();
        }