views:

42

answers:

1

I would like to make my user control have invisible areas like the areas that surround a circle or an irregular shape. I have seen this done with a system.windows.form but not with a system.windows.form.usercontrol. How is this done?

.net 2.0,c#,winform

+1  A: 

You can set the control's Region to an irregular GraphicsPath. Here's an article that shows how to create irregular shaped menuitems

David Kemp