Click here to Skip to main content
14,547,127 members
Rate this:
Please Sign up or sign in to 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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100