Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey there

I'm currently writing a project for an assessment at my college. One of my goals is to be able to change the colour of a form for a user that my have a disability like being colour blind. My project is using all WPF forms in the VB (Visual Basic) language in Visual Studio 2010. On my form I currently have a ComboBox located at the top of the form in which I have added a few style/colour names to it (E.g. Yellow, Blue). I also have Microsoft Expression blend 4, where you can change the colour of objects in your form. I like to use a tool that allows you to change the colour of different things using a gradient, thus allowing you to create professional looking forms.

I would therefore like to be able to add some code to the combo box, so depending on what colour I select of the list will run a routine that will change the colour of the borders/grids in the form.

Please let me know if you need more information and thank you

Martyn
Posted

 
Share this answer
 
Double click on combo box option and code out your theme in each sub it will probably take a while but is well worth it
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900