public void OpenActivityMonitor(string title, ConnectionInfo info)
 {
     var tab = new TabPage(title) { BorderStyle = BorderStyle.None, Padding = new Padding(0) };
     var activityMonitorTab = new ActivityMonitorTab { ConnectionInfo = info, Dock = DockStyle.Fill, ApplicationService = this };
     tab.Controls.Add(activityMonitorTab);
     fileTabs.Controls.Add(tab);
     fileTabs.SelectedTab = tab;
     activityMonitorTab.Start();
 }
Ejemplo n.º 2
0
        public void OpenActivityMonitor(ConnectionInfo info)
        {
            var activityMonitorTab = new ActivityMonitorTab
            {
                ConnectionInfo      = info,
                Dock                = DockStyle.Fill,
                SubscriptionManager = this.applicationService.SubscriptionManager
            };

            string title = info.Title + " Activity";

            AddNewTab(activityMonitorTab, title);
            activityMonitorTab.Start();
        }
Ejemplo n.º 3
0
        public void OpenActivityMonitor(string title, ConnectionInfo info)
        {
            var tab = new TabPage(title)
            {
                BorderStyle = BorderStyle.None, Padding = new Padding(0)
            };
            var activityMonitorTab = new ActivityMonitorTab {
                ConnectionInfo = info, Dock = DockStyle.Fill, ApplicationService = this
            };

            tab.Controls.Add(activityMonitorTab);
            fileTabs.Controls.Add(tab);
            fileTabs.SelectedTab = tab;
            activityMonitorTab.Start();
        }