Round Button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create my own button control, but I want it round, not square.
I can draw the graphics just fine, but I wish there was some way to make the
background of the Usercontrol area transparent.

Is there a way to do this?
 
Zorpiedoman said:
Can't see how to do that. .Region is not showing up as a property...?

You will have to do that at runtime. 'Region' is hidden, but it exists.
You can create a region of arbitrary shape from a
'System.Drawing.Drawing2D.GraphicsPath'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top