Exemplo n.º 1
0
        private void _client_ConnHandler(object sender, EventCommu e)
        {
            TcpClient client = sender as TcpClient;

            if (e.State == 1)
            {
                lstClient.TryRemove(client.DeviceId, out _);
            }
        }
Exemplo n.º 2
0
 private void _client_ConnHandler(object sender, EventCommu e)
 {
     rtbText(e.ClientInfo);
 }