C#代码:
//SP:控件serialport
//btopenport
//btSend
//btClear
//tbRecieve
//tbSend
//tb"textbox",bt"button"
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
u