コード例 #1
0
        public void AddTypingWorkspace()
        {
            PageNavigationWindow secondMonitorWindow = this.ShowSecondMonitorWindowForTyping();

            if (m_TabItemTyping.Parent != null)
            {
                m_TabItemTyping.Focus();
            }
            else
            {
                this.m_TypingWorkspace       = new Surgical.TypingWorkspace(this.m_MainWindowCommandButtonHandler, secondMonitorWindow, this.m_TabItemTyping);
                this.m_TabItemTyping.Content = this.m_TypingWorkspace;
                this.TabControlLeftWorkspace.Items.Add(this.m_TabItemTyping);
                this.m_TabItemTyping.Focus();
                this.m_TypingWorkspace.Loaded += new RoutedEventHandler(this.TypingWorkspace_Loaded);
            }
        }
コード例 #2
0
        public void AddTypingWorkspace()
        {
            PageNavigationWindow secondMonitorWindow = this.ShowSecondMonitorWindowForTyping();

            if (m_TabItemTyping.Parent != null)
            {
                m_TabItemTyping.Focus();
            }
            else
            {
                this.m_TypingWorkspace = new Surgical.TypingWorkspace(this.m_MainWindowCommandButtonHandler, secondMonitorWindow, this.m_TabItemTyping);
                this.m_TabItemTyping.Content = this.m_TypingWorkspace;
                this.TabControlLeftWorkspace.Items.Add(this.m_TabItemTyping);
                this.m_TabItemTyping.Focus();
                this.m_TypingWorkspace.Loaded += new RoutedEventHandler(this.TypingWorkspace_Loaded);
            }
        }