Click here to Skip to main content
11,806,339 members (65,347 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# 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 2:03am
Edited 5-Jul-13 2:43am
(no name)109.4K
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
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)

  Print Answers RSS
0 Richard Deeming 205
1 Sergey Alexandrovich Kryukov 170
2 ppolymorphe 145
3 OriginalGriff 135
4 Abhinav S 120
0 OriginalGriff 3,330
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,905
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 5 Jul 2013
Copyright © CodeProject, 1999-2015
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