Round corner panel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan Wade

    #1

    Round corner panel

    How would I create a panel with a round corner? A sample
    would be great.

    Thanks

    Ryan
  • Bob Powell [MVP]

    #2
    Re: Round corner panel

    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.


    Answer those GDI+ questions with the GDI+ FAQ


    Blog http://bobpowelldotnet.blogspot.com

    "Ryan Wade" <n@n.com> wrote in message
    news:2756601c38 f4f$a6a33cd0$a6 01280a@phx.gbl. ..[color=blue]
    > How would I create a panel with a round corner? A sample
    > would be great.
    >
    > Thanks
    >
    > Ryan[/color]


    Comment

    Working...