G
Guest
Are there any limits where/how you can add/remove events
Have a strange problem, I can not add an event in my method but if I place the add event in my constructor everything works fine. (my method is abstract in the base class if you have to now). The symptom is that nothing happens, the event never fires , so I don't get any errors
looks like this when I try to add the event in my method
public override bool Connect(int serialnr, string portName
..
ucom.DataReceived += new OpenNETCF.IO.Serial.Port.CommEvent(ucom_DataReceived)
..
Thanks
Have a strange problem, I can not add an event in my method but if I place the add event in my constructor everything works fine. (my method is abstract in the base class if you have to now). The symptom is that nothing happens, the event never fires , so I don't get any errors
looks like this when I try to add the event in my method
public override bool Connect(int serialnr, string portName
..
ucom.DataReceived += new OpenNETCF.IO.Serial.Port.CommEvent(ucom_DataReceived)
..
Thanks