Пример #1
0
 public void AddFlowWorkspace()
 {
     if (this.m_TabItemFlow.Parent != null)
     {
         this.m_TabItemFlow.Focus();
     }
     else
     {
         this.m_FlowWorkspace       = new Flow.FlowWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemFlow);
         this.m_TabItemFlow.Content = this.m_FlowWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemFlow);
         this.m_TabItemFlow.Focus();
         this.m_FlowWorkspace.Loaded += new RoutedEventHandler(this.FlowWorkspace_Loaded);
     }
 }
Пример #2
0
 public void AddFlowWorkspace()
 {
     if (this.m_TabItemFlow.Parent != null)
     {
         this.m_TabItemFlow.Focus();
     }
     else
     {
         this.m_FlowWorkspace = new Flow.FlowWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemFlow);
         this.m_TabItemFlow.Content = this.m_FlowWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemFlow);
         this.m_TabItemFlow.Focus();
         this.m_FlowWorkspace.Loaded += new RoutedEventHandler(this.FlowWorkspace_Loaded);
     }
 }