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?