Home > Net >  A serial port receives the event statement method and location
A serial port receives the event statement method and location

Time:09-30

I add a statement for a serial port to accept event but it is always wrong and why accept events return value can only be void statement should be in what position if it is not what to call the received data to master

CodePudding user response:

Don't know what is your prompt error, actually simple point, is that you can directly add SerialPort controls, the control properties have method DataReceived - in the event

CodePudding user response:

119914607 contact me QQ, I can give you an example of serial port communication

CodePudding user response:

Error is not matching with SeriaDataReceivedEventHander overloaded
I wrote should link class is used to and easy to maintain in the late form separation look less messy was out after the form has been appeared this problem
  •  Tags:  
  • C #
  • Related