protected void OnQuit(ChatEventArg e)
 {
     if (Quit != null)
     {
         Quit(this, e);
     }
 }
 protected void OnJoin(ChatEventArg e)
 {
     if (Join != null)
     {
         Join(this, e);
     }
 }
 public static void OnJoinChat(object sender, ChatEventArg e)
 {
     Console.WriteLine("sender = {0}, {1} has joined the chat", sender, e.Name);
 }