Beispiel #1
0
 public void AddSearchWorkspace()
 {
     if (this.m_TabItemSearch.Parent != null)
     {
         this.m_TabItemSearch.Focus();
     }
     else
     {
         this.m_SearchWorkspace       = new SearchWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemSearch);
         this.m_TabItemSearch.Content = this.m_SearchWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemSearch);
         this.m_TabItemSearch.Focus();
         this.m_SearchWorkspace.Loaded += new RoutedEventHandler(m_SearchWorkspace_Loaded);
     }
 }
 public void AddSearchWorkspace()
 {
     if (this.m_TabItemSearch.Parent != null)
     {
         this.m_TabItemSearch.Focus();
     }
     else
     {
         this.m_SearchWorkspace = new SearchWorkspace(this.m_MainWindowCommandButtonHandler, this.m_TabItemSearch);
         this.m_TabItemSearch.Content = this.m_SearchWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemSearch);
         this.m_TabItemSearch.Focus();
         this.m_SearchWorkspace.Loaded += new RoutedEventHandler(m_SearchWorkspace_Loaded);
     }
 }