private void btnYLE280_Open_Click(object sender, EventArgs e) { lbInfo.Items.Add("YLE280_Open(InComPort = 0); // 参数0为自动查找设备"); lbInfo.Items.Add("返回值: " + RF_YLE280U.YLE280_Open(Convert.ToInt32(cbComPortNo.Text)).ToString()); }