public MainForm() { InitializeComponent(); SetDialogMenuItemHandlers(); version_StatusLabel.Text = "Version " + AssemblyProperties.Version; // Set up Scenario Configuration tab _enterpriseTestUIController = new EnterpriseTestUIController(); _enterpriseTestUIController.NodeRemoving += _enterpriseTestUIController_NodeRemoving; scenarioConfigurationTreeView.OnStatusChanged += ScenarioConfigurationTreeView_OnStatusChanged; scenarioConfigurationTreeView.OnStartBatch += ScenarioConfigurationTreeView_OnStartBatch; scenarioConfigurationTreeView.Initialize(_enterpriseTestUIController); resource_ToolStrip.Visible = false; // Set up Environment dashboard tab dashboard_TabPage.Controls.Add(_dashboardControl); _dashboardControl.Dock = DockStyle.Fill; _sessionManager = connectedSessionsControl.SessionManager; _sessionManager.PropertyChanged += _sessionManager_PropertyChanged; // Subscribe to dispatcher updates SessionClient.Instance.DispatcherExceptionReceived += new EventHandler <ExceptionDetailEventArgs>(DispatcherErrorReceived); // Subscribe to this event so that the connection dialog will pop up when the app is finished loading Application.Idle += new EventHandler(OnLoaded); // Subscribe to events that occur when the connection to a dispatcher changes. STFDispatcherManager.DispatcherChanged += STFDispatcherManager_DispatcherChanged; }