Exemple #1
0
 protected void dataProcess_onLogMessageRecv(object sender, MainForm.LogEventArgs e)
 {
     if (InvokeRequired)
     {
         Invoke((MethodInvoker) delegate { dataProcess_onLogMessageRecv(sender, e); });
     }
     else
     {
         showMessageOnBox(e.Message, tbx_LogBox2);
     }
 }
Exemple #2
0
 protected void dataProcess_onLogMessageRecv(object sender, MainForm.LogEventArgs e)
 {
     LogMessage(e.Message);
 }