while (m_IsReceiving) { System.Windows.Forms.Application.DoEvents(); //处理界面卡死 用DoEvents }你这个是死循环啊!!肯定会卡死的!!