Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Setting and getting a user selected set of persisted control properties

$
0
0

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.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>