S
SRLoka
I am learning C# for the Compact Framework. I put a PictureBox on a form.
But when I click on the events button(on the Properties Tab), only
ParentChanged, Validated and Validating are listed. There is no click event.
But if I manually code for a Click event, it works. I added this line after
the call to InitializeComponent()
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
This works but I am curious as why it is not listed on the properties tab
(its documented as a valid event) and I want to do it the right way.
Thanks
Srinivas
But when I click on the events button(on the Properties Tab), only
ParentChanged, Validated and Validating are listed. There is no click event.
But if I manually code for a Click event, it works. I added this line after
the call to InitializeComponent()
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
This works but I am curious as why it is not listed on the properties tab
(its documented as a valid event) and I want to do it the right way.
Thanks
Srinivas