Click here to Skip to main content
Licence 
First Posted 3 Aug 2005
Views 39,938
Bookmarked 22 times

.NET Shape Control

By | 3 Aug 2005 | Article
Drawing shapes in GDI+.

Sample Image

Introduction

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!!

License

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

Sautin.net

Web Developer

United States United States

Member

I am currently a software developer for Dearman Systems, Inc..

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionBusiness use Pinmembersolitonwave18:15 22 Oct '08  
QuestionNot really an article, is it? PinmemberT1TAN4:36 17 Jul '07  
Generalresize and relocate by mouse PinmemberJian12345674:38 10 Jan '06  
GeneralRe: resize and relocate by mouse PinmemberSautin.net5:43 10 Jan '06  
GeneralRe: resize and relocate by mouse PinmemberJian12345676:54 10 Jan '06  
GeneralRe: resize and relocate by mouse PinmemberSautin.net8:23 10 Jan '06  
GeneralRe: resize and relocate by mouse Pinmemberjatm18:33 14 Jun '06  
GeneralRe: resize and relocate by mouse Pinmemberipsharer7:44 17 Jun '08  
GeneralRe: resize and relocate by mouse PinmemberMadmanxxx23:38 30 Mar '09  
GeneralConnector PinmemberJian12345674:51 9 Jan '06  
GeneralRe: Connector PinmemberSautin.net12:26 9 Jan '06  
GeneralRe: Connector PinmemberJian12345673:05 10 Jan '06  
GeneralRe: Connector PinmemberSautin.net5:47 10 Jan '06  
GeneralRe: Connector PinmemberSautin.net5:48 10 Jan '06  
GeneralRe: Connector PinmemberJian12345676:59 10 Jan '06  
GeneralRe: Connector PinmemberAriston Darmayuda7:29 5 Jul '07  
GeneralRe: Connector PinmemberSautin.net7:41 5 Jul '07  

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

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

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 3 Aug 2005
Article Copyright 2005 by Sautin.net
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid