Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
18
Answers
How can I change the color of text and background in C#?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Joe Wilson
8y
650
1
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
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.