J
joshuaphillips
Hi All,
I have created a control that inherits from RadioButton and I have
overridden it's OnPaint method. It looks great, draws the background
with every color except with Color.Transparent. When I make the
controls Background color transparent, it draws it black! Is there
anyway to fix this?
Inside the OnPaint method, my first line is:
e.Graphics.Clear(Color.BackColor);
I have also set the control style SupportsTransparentBackColor to true.
Any help would be greatly appreciated.
Thanks!
I have created a control that inherits from RadioButton and I have
overridden it's OnPaint method. It looks great, draws the background
with every color except with Color.Transparent. When I make the
controls Background color transparent, it draws it black! Is there
anyway to fix this?
Inside the OnPaint method, my first line is:
e.Graphics.Clear(Color.BackColor);
I have also set the control style SupportsTransparentBackColor to true.
Any help would be greatly appreciated.
Thanks!