示例#1
0
        void Msgr_UserStatusChanged(object sender, UserStatusEventArgs e) {

            using (ConsoleExt.WithColor(eventColor))
                Console.WriteLine("{0} changed status to {1}", e.User.Nickname ?? e.User.LoginName, e.Status);
        }
 internal void OnUserStatusChanged(UserStatusEventArgs e)
 {
     EventHandler<UserStatusEventArgs> handler = UserStatusChanged;
     if (handler != null) handler(this, e);
 }