Exemple #1
0
 void wrsClient_ClientDisconnected(WRS20_Logic.JsonObjects.JClient client)
 {
     listBox1.Invoke((MethodInvoker)delegate { if (listBox1.FindString(client.Name) != -1) listBox1.Items.Remove(client.Name); });
 }
Exemple #2
0
 void wrsClient_ClientConnected(WRS20_Logic.JsonObjects.JClient client)
 {
     listBox1.Invoke((MethodInvoker)delegate { listBox1.Items.Add(client.Name); });
 }