/// <summary> /// 獲取串口號,初始化下拉串口名称列表框 /// </summary> public void getCommPorts() { createSerPortUtil(); string[] ports = serPort.getSerialPorts(); commPortsCallBack(ports); }
/// <summary> /// 獲取串口號,初始化下拉串口名称列表框 /// </summary> public void getCommPorts() { string[] ports = SerialPortUtils.getSerialPorts(); commPortsCallBack(ports); }