Example #1
0
        internal void OnDisconnected(Connection connection)
        {
            // unregister not the method here, but the registered method
            connection.OnDisconnected -= this.mainForm.OnDisconnected;
            var tabPage = new TabControlFilter(this.tcTerminals).FindTabToClose(connection);

            this.InvokeCloseTab(tabPage);
        }
Example #2
0
 internal TerminalTabsSelectionControler(TabControl.TabControl tabControl, IPersistence persistence)
 {
     this.mainTabControl = tabControl;
     this.filter         = new TabControlFilter(tabControl);
     persistence.Dispatcher.FavoritesChanged += new FavoritesChangedEventHandler(this.OnFavoritesChanged);
 }
Example #3
0
 internal PopupTerminal(TerminalTabsSelectionControler mainTabsControler)
     : this()
 {
     this.mainTabsControler = mainTabsControler;
     this.filter            = new TabControlFilter(this.tabControl1);
 }