changing colors of button

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2009
Posts: 12
Reputation: dip7 is an unknown quantity at this point 
Solved Threads: 0
dip7 dip7 is offline Offline
Newbie Poster

changing colors of button

 
0
  #1
May 13th, 2009
Hi

How do i change the color of the button using code? i cant change it using the toolbar because i created the button using code as well.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 436
Reputation: JerryShaw is on a distinguished road 
Solved Threads: 72
JerryShaw JerryShaw is offline Offline
Posting Pro in Training

Re: changing colors of button

 
0
  #2
May 13th, 2009
Does the button have a BackColor property ?
button.BackColor = Color.Red;
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC