private static void SetCurrentFunction(string func) { _settings.Settings["funcCurrent"][0] = func; _settings.SaveSettingsToFile(); }