private void SettingsGUI_FormClosing(object sender, FormClosingEventArgs e) { if (save) { OPT.Save(); } }