Reputation: 947
I am building a custom user control in c#, and the look of the control is an elipse, but the corners of the control can be seen with the default color.
I think that the best way to solve this is making the backcolor of the control transparent, but if i do it in properties doesn't work.
Upvotes: 1
Views: 1049
Reputation: 6435
In the control's constructor, try adding a call to SetStyle(ControlStyles.SupportsTransparentBackColor)
Upvotes: 1