Wednesday 15 June 2011

listbox - C# adding click events to a list box -


I am trying to add a list event to a list box, but for some reason nothing happens when I Click an item list box.

My guess and what I have read, the code should look something like this

  Private Zero list box1_Click (Object Sender, EventArgs E) {// Code Previous TextBox1 .Text = "success"; }   

This is not working though. Does anyone know how to be this?

If you want it, please do not worry about double click and other click variations. When you want to trigger 'click on items' in the box, why do not you try the selected Ink exchange instead?

No comments:

Post a Comment