Click here to Skip to main content
14,365,424 members

.NET Shape Control

Rate this:
1.91 (9 votes)
Please Sign up or sign in to vote.
1.91 (9 votes)
3 Aug 2005
Drawing shapes in GDI+.

Sample Image


The Shape control was designed to re-create the control that was lost when upgrading to the .NET Framework. This Shape control has much better control over the look.

Using the code

Pretty easy, just plop it on your screen and start playing with the properties.

Points of Interest

I originally wrote this control to get acquainted with drawing in the .NET Framework and the C# language. I had a lot of fun doing it, and learned a lot about the basics of GDI+. I think that it would make a really good tutorial for someone trying to learn the basic flow of a custom graphical control. I would appreciate if anyone adds some functionality, that you would email me so that I can add it in to my source. Enjoy!!


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author
Web Developer
United States United States
I am currently a software developer for Dearman Systems, Inc..

Comments and Discussions

QuestionBusiness use Pin
solitonwave22-Oct-08 19:15
membersolitonwave22-Oct-08 19:15 
QuestionNot really an article, is it? Pin
T1TAN17-Jul-07 5:36
memberT1TAN17-Jul-07 5:36 
Generalresize and relocate by mouse Pin
Jian123456710-Jan-06 5:38
memberJian123456710-Jan-06 5:38 
GeneralRe: resize and relocate by mouse Pin
Sautin.net10-Jan-06 6:43
memberSautin.net10-Jan-06 6:43 
GeneralRe: resize and relocate by mouse Pin
Jian123456710-Jan-06 7:54
memberJian123456710-Jan-06 7:54 
GeneralRe: resize and relocate by mouse Pin
Sautin.net10-Jan-06 9:23
memberSautin.net10-Jan-06 9:23 
GeneralRe: resize and relocate by mouse Pin
jatm14-Jun-06 19:33
memberjatm14-Jun-06 19:33 
GeneralRe: resize and relocate by mouse Pin
ipsharer17-Jun-08 8:44
memberipsharer17-Jun-08 8:44 
GeneralRe: resize and relocate by mouse Pin
Madmanxxx31-Mar-09 0:38
memberMadmanxxx31-Mar-09 0:38 
GeneralConnector Pin
Jian12345679-Jan-06 5:51
memberJian12345679-Jan-06 5:51 
GeneralRe: Connector Pin
Sautin.net9-Jan-06 13:26
memberSautin.net9-Jan-06 13:26 
GeneralRe: Connector Pin
Jian123456710-Jan-06 4:05
memberJian123456710-Jan-06 4:05 
GeneralRe: Connector Pin
Sautin.net10-Jan-06 6:47
memberSautin.net10-Jan-06 6:47 
GeneralRe: Connector Pin
Sautin.net10-Jan-06 6:48
memberSautin.net10-Jan-06 6:48 
GeneralRe: Connector Pin
Jian123456710-Jan-06 7:59
memberJian123456710-Jan-06 7:59 
GeneralRe: Connector Pin
Ariston Darmayuda5-Jul-07 8:29
memberAriston Darmayuda5-Jul-07 8:29 
GeneralRe: Connector Pin
Sautin.net5-Jul-07 8:41
memberSautin.net5-Jul-07 8:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Posted 3 Aug 2005


23 bookmarked