public override void Save(ColourCollection colours) { try { Properties.Settings.Default[_settingsName] = colours.ToString(); Properties.Settings.Default.Save(); } catch (Exception) { return; } }
override public void Save(ColourCollection colours) { string coloursString = colours.ToString(); _coloursRegistryKey.SetValue(_registryKeyName, coloursString); }