private void ApplyButton_Click(object sender, EventArgs e) { GeneralPanel.ApplyChanges(); UpdatesPanel.ApplyChanges(); ScriptsPanel.ApplyChanges(); AddinOptions.Save(); Close(); }