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_ViewConfiguration(object sender, EventArgs e) { bool switchView = event_ProgressCheck(); if (switchView) { event_ResetForm(); configuration = new ControlConfiguration(this, settingsDictionary); panelControlBackground.Controls.Add(configuration); configuration.Dock = DockStyle.Fill; buttonConfiguration.BackColor = uiColor; currentViewName = "Configuration"; } }