void Conc_Errored(object sender, TCPErroredArgs e) { this.textBox_Log.AddString("无法连接:" + e.Error.ToString()); EnableControls(true); if (_conc != null) { _conc.ClearEvents(); _conc = null; } if (_acc != null) { _acc.ClearEvents(); _acc = null; } }
void conn_Errored(object sender, TCPErroredArgs e) { this.textBox_Log.AddString("网络错误:" + e.Error.ToString()); }