开发者

making Transparent, unclickable areas in a userControl/pictureBox

开发者 https://www.devze.com 2023-01-20 17:11 出处:网络
I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this.

I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. http://msdn.microsoft.com/en-us/library/aa235175(VS.60).aspx but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. but I dont开发者_高级运维 want transparent areas to be dragable.


I found this. http://msdn.microsoft.com/en-us/library/system.windows.forms.control.region.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消