Click here to Skip to main content
15,940,373 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi guys,

Just a quick question on interface design.

If i'm using a color dialog in my form and I want to report feedback from the dialog back to the user, which would be the best practise?

1.Use a label and set the controls backcolor to the selected color.

2.Use a picturebox and set the controls backcolor to the selected color.

3.Paint a small area of the form to the selected color.

Don't normally play with winforms (web developer) but i'm running some experiments for a potential article.

Many Thanks.
Posted

1 solution

What's the difference? For what you're using them for they all do the same thing so just pick one and do it. If you want some criteria to pick one then how about picking the easiest? I'd use (1) or (2) which are functionally equivalent but I'd use a Panel instead of some other specific control.
 
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