예제 #1
0
 void m_client_OnCommandError(object sender, AltarNet.TcpErrorEventArgs e)
 {
     if (InvokeRequired)
     {
         this.BeginInvoke((MethodInvoker) delegate
         {
             OnCommandError(e);
         });
     }
     else
     {
         OnCommandError(e);
     }
 }
예제 #2
0
 private void OnCommandError(AltarNet.TcpErrorEventArgs e)
 {
     logViewer.WriteLine("A command from the server could not be read!", MessageType.Error);
 }