B
bat21
How create transparent background in "UserControl" ( Opacity regulated ) ?
thanks for all
bat21
thanks for all
bat21
a said:In the link you provided, step one says: "In the Code Editor for your
control, locate the constructor." I am trying to make a pictureBox be
tranparent. How do I get to the contructor for the pictureBox?
I tried doing this inside InitializeComponent(), but I get the error:
Cannot access protected member
'System.Windows.Forms.Control.SetStyle(System.Windows.Forms.ControlStyles,
bool)' via a qualifier of type 'PictureBox'; the qualifier must be of type
'Form1' (or derived from it)
Thanks