Click to See Complete Forum and Search --> : WinForms visual shape objects??


Martin Perkins
April 17th, 2001, 08:25 AM
Has anyone found a way of adding say a circle to their Form?

saurabhN
April 18th, 2001, 11:02 AM
yep, You have to use GDI+ and then use the Region Property of the Form to shape the Form.


Saurabh Nandu
mailsaurabhn@webveda.com
http://Learncsharp.cjb.net

fysx
April 28th, 2001, 11:29 AM
You can use the properties editor to add a callback method for the Paint event. Using the arguments passed to that method you can obtain a Graphics object and this graphics object will have a DrawCircle method. The Graphics object is the C# equivalent of a Win32 Device Context. Hope this helps.