G
Gianmaria
hi,
that's my problem. I have an object and this have a onConnectionChanged
event. and when i use it on ny form i have also my event handler.
Now, my user can add many of this objects to a list ( that is rappresented
graphically by a listview), and each ListItem have in the tag property the
corresponding object. If i add manually a single object on my form.. i write
down manually the eventhandler for that object.. but.. how can i do.. if
objects are addd by a user.. and every object need his event handler???
p1.OnConnectionStatusChanged +=new
ConnectionStatusChangedEventHandler(p1_OnConnectionStatusChanged);
I need his for many objects.
Gianmaria
that's my problem. I have an object and this have a onConnectionChanged
event. and when i use it on ny form i have also my event handler.
Now, my user can add many of this objects to a list ( that is rappresented
graphically by a listview), and each ListItem have in the tag property the
corresponding object. If i add manually a single object on my form.. i write
down manually the eventhandler for that object.. but.. how can i do.. if
objects are addd by a user.. and every object need his event handler???
p1.OnConnectionStatusChanged +=new
ConnectionStatusChangedEventHandler(p1_OnConnectionStatusChanged);
I need his for many objects.
Gianmaria