|
-
April 17th, 2001, 08:25 AM
#1
WinForms visual shape objects??
Has anyone found a way of adding say a circle to their Form?
-
April 18th, 2001, 11:02 AM
#2
Re: WinForms visual shape objects??
yep, You have to use GDI+ and then use the Region Property of the Form to shape the Form.
Saurabh Nandu
mail[email protected]
http://Learncsharp.cjb.net
-
April 28th, 2001, 11:29 AM
#3
Re: WinForms visual shape objects??
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|