Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
18
Reply
How can I change the color of text and background in C#?
Joe Wilson
Oct 6 2016 2:10 PM
622
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
18
)
Next Recommended Forum
Call a function inside an event handler
How to do any work on Button Long Press only in winform.