Example #1
0
        private void OnClientConnected(ClientConnectedEventArgs e)
        {
            ClientConnectedEventHandler handler = ClientConnected;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected void OnConnected(ClientConnectedEventArgs e)
        {
            ConnectedEventHandler conHandler = Connected;

            if (conHandler != null)
            {
                conHandler(this, e);
            }
        }
Example #3
0
 void Client_Connected(object sender, ClientConnectedEventArgs e)
 {
     MessageBox.Show("Client Connected");
 }