an = new SerialPort();
                try
                {//                    tbxRecvData.Text = an.ReadLine() ;
                }
                catch (Exception)
                {
                    lblStatus.Text = "读取串口时发生错误!";
                    return;
                }
            }
设计了一个串口程序,可以发出数据,但是接受数据就不行,求解?