Round button from round image

  • Thread starter Thread starter Amb k
  • Start date Start date
A

Amb k

Hi,

I have an image round in shape, now i want to create a button with the image
in the background, but the image is coming in rectangular shape. How to make
it round. I can do it by picturebox but the push pull style for the button
misses in picturebox, any way to do the same . Thanks
 
Do u have any sample code for the creation...?

Bob Powell said:
Use the Region property.

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Back
Top