Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

How to change form backcolour during runtime through settings?

$
0
0

Hullo geniuses!

It seemed quite simple to do, but I am getting incredibly frustrated, perhaps I am missing something?

I would simply like to make a user scoped setting that saves the user's colour preference for the form backcolour. There's a slight twist. I have several buttons, and each one is coloured differently. For example, one is coloured 128, 0, 0. When I click it, it has to not only change the form's backcolour to that colour (128, 0, 0), but save a setting, so that when the user closes the form, and then opens it again, the form retrieves the setting and uses it to set the form's backcolour, in this example, to 128, 0, 0.

Thank you for your time! :)


Viewing all articles
Browse latest Browse all 21115

Trending Articles



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