Click here to Skip to main content
15,169,285 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created one C# based project named as mainWindow. This project has one more winform named as secondWindow. I have added serial port in mainWindow and I want to receive data on both winforms (mainWindow & secondWindow) using this serial port, but on secondWindow serial port is not accessible. How should I proceed? Please somebody help me.

1 solution

Receive data from the only SerialPort object you have and then dispatch it properly to the two forms.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900