protected void OnConnected(ClientConnectedEventArgs e)
        {
            ConnectedEventHandler conHandler = Connected;

            if (conHandler != null)
            {
                conHandler(this, e);
            }
        }
        private void OnClientConnected(ClientConnectedEventArgs e)
        {
            ClientConnectedEventHandler handler = ClientConnected;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #3
0
 void server_ClientConnected(object sender, ClientConnectedEventArgs e)
 {
     MessageBox.Show("Client Verbunden");
 }