Пример #1
0
 private void ShowTaskWorkspace()
 {
     if (m_TabItemTask.Parent != null)
     {
         m_TabItemTask.Focus();
     }
     else
     {
         this.m_TaskWorkspace       = new TaskWorkspace(this.m_MainWindowCommandButtonHandler, m_TabItemTask);
         this.m_TabItemTask.Content = this.m_TaskWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemTask);
         this.m_TabItemTask.Focus();
     }
 }
Пример #2
0
 private void ShowTaskWorkspace()
 {
     if (m_TabItemTask.Parent != null)
     {
         m_TabItemTask.Focus();
     }
     else
     {
         this.m_TaskWorkspace = new TaskWorkspace(this.m_MainWindowCommandButtonHandler, m_TabItemTask);
         this.m_TabItemTask.Content = this.m_TaskWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemTask);
         this.m_TabItemTask.Focus();
         this.CommandBindings.Add(m_TaskWorkspace.CommandBindingRemoveTab);
     }
 }