Check out the GDI+ FAQ. It shows how to create a round rect.
Draw a roundrect into a GraphicsPath. Use the path to create a region and
then set the panel control's Region property with that.
--
Bob Powell [MVP]
C#, System.Drawing
September's edition of Well Formed is now available.
http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
Blog
http://bobpowelldotnet.blogspot.com
"Ryan Wade" <n@n.com> wrote in message
news:27*****************************@phx.gbl...
How would I create a panel with a round corner? A sample
would be great.
Thanks
Ryan