日期:2014-05-18 浏览次数:21157 次
private void FrmGather_FormClosing(object sender, FormClosingEventArgs e)
{
timerStatusUpdate.Dispose();
timerSendWeight.Dispose();
spReceive.Close(); //关闭串口
ThSKConnect.Abort(); //关闭线程
ThCheckState.Abort(); //关闭线程
ThSKSend.Abort(); }