private void tcpAsyncServer_ErrorServer(object sender, ErrorServerEventArgs e) { this.Invoke((EventHandler)(delegate { NetLog(e.Error.Message + "\r\n"); })); }
private void tcpAsyncServer_ErrorServer(object sender, ErrorServerEventArgs e) { try { this.Invoke((EventHandler)(delegate { textBox1.AppendText(e.Error.Message + "\r\n"); })); } catch// (System.Exception ex) { } }