Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
 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 5-Jul-13 3:03am
Edited 5-Jul-13 3:43am
(no name)67.4K
v3
Comments
ryanb31 at 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 at 5-Jul-13 8:48am
   
HI
di u got my question?
ryanb31 at 5-Jul-13 8:51am
   
What type of object is it exactly? Have you tried using intellisense to see what properties are available?
ThePhantomUpvoter at 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)



Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 5 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100