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_ViewDataEditor(object sender, EventArgs e) { bool switchView = event_ProgressCheck(); if (switchView) { event_ResetForm(); dataEditor = new ControlDataEditor(settingsDictionary); panelControlBackground.Controls.Add(dataEditor); dataEditor.Dock = DockStyle.Fill; buttonDataEditor.BackColor = uiColor; currentViewName = "DataEditor"; } }