Ejemplo n.º 1
0
 void _client_NotificationReceived(object sender, NotificationEventArgs e)
 {
 }
Ejemplo n.º 2
0
        void client_NotificationReceived(object sender, NotificationEventArgs e)
        {
            _client.Stop();

            if (e.Message == "0")
                MessageBox.Show("Nickname is already in use :(");
            else
            {
                MessageBox.Show("You've registered a new account :)");
            }
        }
Ejemplo n.º 3
0
        protected virtual void OnNewNotification(NotificationEventArgs e)
        {
            EventHandler<NotificationEventArgs> temp = NotificationReceived;

            if (temp != null) temp(this, e);
        }