Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
private void button1_Click(object sender, EventArgs e)
       {
          // ovalShape1.SelectionColor =

       }





how can i change or fill the color of the oval shape toolbox item in windows form application by writing the code in button click event?
Posted
Updated 5-Jul-13 2:43am
v3
Comments
ZurdoDev 5-Jul-13 8:24am    
Please use the improve question link to post relevant code and show us where you are stuck.
tarun from hyderabad 5-Jul-13 8:48am    
HI
di u got my question?
ZurdoDev 5-Jul-13 8:51am    
What type of object is it exactly? Have you tried using intellisense to see what properties are available?
[no name] 5-Jul-13 9:02am    
Did you actually try anything? Did you read the documentation for the OvalShape class and see if there might be something in there that sets the color of the background....?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900