Пример #1
0
        void Msgr_LoggedOut(object sender, LoggedOutEventArgs e)
        {

            using (ConsoleExt.WithColor(eventColor))
                Console.WriteLine("Logged out");

        }
Пример #2
0
 void OnLoggedOut(LoggedOutEventArgs e)
 {
     EventHandler<LoggedOutEventArgs> handler = LoggedOut;
     if (handler != null) handler(this, e);
 }