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