M
mmeftahpour
Guest
I really appreciate it, if someone could help me on this issue…..
I have a Serial port control in my program and also, I add the DataRecieved handler ….
this->SensorPort->PortName = L"COM9";
this->SensorPort->DataReceived += gcnew SerialDataReceivedEventHandler(this, &MainForm:ataRecievedFromSensor);
and everything works fine….
The problem starts when I start to debug program, after first run Microsoft visual studio editor erase the “DataRecieved” handle from source code….
Then each time before running, I need to add handler again….
Continue reading...
I have a Serial port control in my program and also, I add the DataRecieved handler ….
this->SensorPort->PortName = L"COM9";
this->SensorPort->DataReceived += gcnew SerialDataReceivedEventHandler(this, &MainForm:ataRecievedFromSensor);
and everything works fine….
The problem starts when I start to debug program, after first run Microsoft visual studio editor erase the “DataRecieved” handle from source code….
Then each time before running, I need to add handler again….
Continue reading...