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
David
NA
3
0
C Sharp if statement concerning button color.
Mar 3 2008 3:21 PM
What is the proper syntax to perform and if statement concerning a buttons color.
Sample code that is non-working:
if (this.btnChat1.BackColor="Color.Salmon")
{
this.btnChat1.BackColor = Color.DarkBlue;
}
else
{
this.btnChat1.BackColor = Color.Salmon;
}
Reply
Answers (
2
)
Encrypt/decrypt file by using RSACryptoServiceProvider in C#
Leave Key and mouse move inside another program without selecting it.