TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Joe Wilson
NA
7.8k
435.6k
How can I change the color of text and background in C#?
Oct 6 2016 2:10 PM
Hi,
I mean I want to make a windows form in C# like below:
this is my form
color:
color number (0 - 255)
(for example if all of the color number get 0 except green the text will be green and the contrast color (red) will be background color)
Note: the green and blue and red that were shown below are labels and the numbers in front of labels are text box which can be changed and the text which is green is a text box which must have contrast color with the background color .
For example:
green
255
blue
0
Text
red
0
Reply
Answers (
18
)
Call a function inside an event handler
How to do any work on Button Long Press only in winform.