Beispiel #1
0
 private void ShowLoginWorkspace()
 {
     if (m_TabItemLogin.Parent != null)
     {
         m_TabItemLogin.Focus();
     }
     else
     {
         this.m_LoginWorkspace       = new Login.LoginWorkspace(this.m_MainWindowCommandButtonHandler, m_TabItemLogin);
         this.m_TabItemLogin.Content = this.m_LoginWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemLogin);
         this.m_TabItemLogin.Focus();
     }
 }
 private void ShowLoginWorkspace()
 {
     if (m_TabItemLogin.Parent != null)
     {
         m_TabItemLogin.Focus();
     }
     else
     {
         this.m_LoginWorkspace = new Login.LoginWorkspace(this.m_MainWindowCommandButtonHandler, m_TabItemLogin);
         this.m_TabItemLogin.Content = this.m_LoginWorkspace;
         this.TabControlLeftWorkspace.Items.Add(this.m_TabItemLogin);
         this.m_TabItemLogin.Focus();
         this.CommandBindings.Add(m_LoginWorkspace.CommandBindingRemoveTab);
     }
 }