vis781
Well-known member
This is not a enquiry just a little tip for all those trying to make a custom shaped form. Mose people will revert to the transparency key, frankly this property is twitchy at best and not really designed for this purpose. Better to create your graphics path with the shape you desire and this assign this graphics path the to the forms protected region property.
Hope someone finds this useful
P.s you may well ask why this property doesn't show up in intellisense. That is because intellesense doesn't show any of the protected members. There's a whole host of other useful stuff. Check out the members section of the control you want at MSDN. You'd be surprised.
VB.NET:
Me.region = new region(Graphicspath)
Hope someone finds this useful
P.s you may well ask why this property doesn't show up in intellisense. That is because intellesense doesn't show any of the protected members. There's a whole host of other useful stuff. Check out the members section of the control you want at MSDN. You'd be surprised.
Last edited: