Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / April 2005

Tip: Looking for answers? Try searching our database.

C# Panel Round Corners

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joh Lorenzen - 13 Apr 2005 05:00 GMT
I'm new to C# but I would like to create a Custom Panel with Round Corners
does anyone have source code to accomplish this?
Tim Wilson - 13 Apr 2005 06:33 GMT
Create a GraphicsPath object and use lines and arcs to compose the area that
will become the actual control region. Then create a new Region object from
the GraphicsPath object and assign that to the Region property of the Panel.
http://www.google.ca/groups?q=graphicspath+round+rect+group:microsoft.public.dot
net*&hl=en&lr=&selm=%23t4AYA4jDHA.1408%40TK2MSFTNGP11.phx.gbl&rnum=2


Signature

Tim Wilson
.Net Compact Framework MVP

> I'm new to C# but I would like to create a Custom Panel with Round Corners
> does anyone have source code to accomplish this?
Robin Sanner - 18 Apr 2005 23:29 GMT
Check out the VB.NET Power Pack.  I'm pretty sure it has a panel that does
that and source code is included.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbpowerpack.asp


> I'm new to C# but I would like to create a Custom Panel with Round Corners
> does anyone have source code to accomplish this?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2012 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.