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