internal void event_ControlInstances() { dashboard = new ControlDashboard(this); scriptEditor = new ControlScriptEditor(this); componentEditor = new ControlComponentEditor(this); dataGenerator = new ControlDataGenerator(this); dataEditor = new ControlDataEditor(this); databaseEditor = new ControlDatabaseEditor(this); configuration = new ControlConfiguration(this); }
private void action_ViewDashboard(object sender, EventArgs e) { bool switchView = event_ProgressCheck(); if (switchView) { event_ResetForm(); dashboard = new ControlDashboard(settingsDictionary); panelControlBackground.Controls.Add(dashboard); event_ResetForm(); panelControlBackground.Controls.Add(dashboard); dashboard.Dock = DockStyle.Fill; buttonDashboard.BackColor = uiColor; currentViewName = "Dashboard"; } }