Click event for PictureBox

  • Thread starter Thread starter Arn Cota
  • Start date Start date
A

Arn Cota

I am trying to trap a mouse click (stylus tap) on a PictureBox component,
but it doesnt have such an event exposed. What are my options here? Do I
need to subclass this control and make my own? Is there another way to add
such behavior?

Thanks!
 
Hmm looks like if I add:

this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click);

to my code, I can track a click even though this is not show in the
Properties dialog for PictureBox.
 
Back
Top