Solved

backcolor

Posted on 2006-07-01
1
330 Views
Last Modified: 2010-04-23
From a button you can select a backcolor. I choose the color "Control". And i set UsevisualStyleBackcolor = false. Later in the programm I changed the backcolor from this button to  green. Later on I want to change it back (runtime) to the original color "Control"
How can I do that? I can't find a &Hxxxx colornumber and control is not a number?
0
Comment
Question by:dgb
1 Comment
 
LVL 10

Accepted Solution

by:
ericwong27 earned 500 total points
ID: 17022836

 Me.CloseButton.BackColor = System.Drawing.Color.Green
 Me.CloseButton.BackColor = System.Drawing.SystemColors.Control
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now