I am trying to write a C# (Visual Studio 2013 with .NET 4.5 or 4.5.1) application where I have a set of controls used to set up the communications for various devices connected to the PC via a serial port. These devices range in baud rate and port control hardware necessitating the need to be able to change these settings dependent on which device is connected. Although I can easily create the controls and persist the control settings for the application, when a different device is connected and the new settings are saved, the original device settings are now lost.
I am trying to find a way to have the user create a series of IDs that will be associated with multiple sets of saved settings that will allow the user to select the settings from a menu (the menu would grow with the additions of more identifiers associated with new device settings that need to be persisted).
Is there a way to do this without re-writing the Properties classes? If not where would I begin?
Thanks in advance.