Click here to Skip to main content
12,452,344 members (55,876 online)
Click here to Skip to main content
Add your own
alternative version

Stats

49.8K views
2K downloads
23 bookmarked
Posted

.NET Shape Control

, 3 Aug 2005
Rate this:
Please Sign up or sign in to vote.
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

Share

About the Author

Sautin.net
Web Developer
United States United States
I am currently a software developer for Dearman Systems, Inc..

You may also be interested in...

Pro
Pro

Comments and Discussions

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

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