protected void onRequestTab(TabViewModelBase tabToOpen)
 {
     if (RequestTab == null)
     {
         return;
     }
     RequestTab.Invoke(this, new RequestTabEventArgs(tabToOpen));
 }
 private void AddTab(TabViewModelBase tab)
 {
     m_tabs.Add(tab);
     SelectedTab = tab;
 }
 protected void onRequestTab(TabViewModelBase tabToOpen)
 {
     if (RequestTab == null) return;
     RequestTab.Invoke(this, new RequestTabEventArgs(tabToOpen));
 }
        private void Item_RequestClose(object sender, EventArgs e)
        {
            TabViewModelBase realSender = (TabViewModelBase)sender;

            m_tabs.Remove(realSender);
        }
 private void AddTab(TabViewModelBase tab)
 {
     m_tabs.Add(tab);
     SelectedTab = tab;
 }
        private void Item_OpenTab(object sender, EventArgs e)
        {
            TabViewModelBase realSender = (TabViewModelBase)sender;

            m_tabs.Add(realSender);
        }
 public RequestTabEventArgs(TabViewModelBase tab)
 {
     TabToOpen = tab;
 }