Set code to inherited event

  • Thread starter Thread starter Ibai Peña
  • Start date Start date
I

Ibai Peña

Hi,

I´m trying to asign some code to he click event of a PictureBox control.
The event is inherited from Control. The event doesn´t appear in the
properties window, so I cant set the code to the event.
What am I doing wrong?

Regards,
 
I answer myself,

this.PictureBox1.Click += new System.EventHandler (this.PictureBox1_Click);

Such a time waste for such a stupid problem.
 
Back
Top