private void Save(object parameter) { if (FolderPath != Properties.Settings.Default.FolderPath) { MessageQueue.Enqueue("Copying Files to New Path"); WindowsUtility.CopyAll(Properties.Settings.Default.FolderPath, FolderPath); } if (RunOnStarup != Properties.Settings.Default.RunOnStartup) { MessageQueue.Enqueue("Preparing startup option"); Properties.Settings.Default.RunOnStartup = RunOnStarup; } Properties.Settings.Default.Save(); Close(parameter); }