Exemple #1
0
        protected virtual void OnNameMessageReceived(NameMessageReceivedEventArgs e)
        {
            var handler = NameMessageReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
 private void client_NameMessageReceived(object sender, NameMessageReceivedEventArgs e)
 {
     serverName = e.ServerName;
 }