Current location - Quotes Website - Collection of slogans - How to make a serial communication program similar to serial debugging assistant in delphi, and choose the open serial number with combobox?
How to make a serial communication program similar to serial debugging assistant in delphi, and choose the open serial number with combobox?
Combobox-com 1- corresponding itemindex= 1.

- com2 - itemindex=2

- com3 - itemindex=3

You can fix the corresponding value in the control and write a switch statement.