Example #1
0
 protected virtual void OnJoinRecieved(JoinRecievedEventArgs e)
 {
     EventHandler<JoinRecievedEventArgs> handler = JoinRecieved;
     if (handler != null)
         handler(this, e);
 }
Example #2
0
 private void Client_JoinRecieved(object sender, JoinRecievedEventArgs e)
 {
     checkChannel(e.Channel);
     Console.WriteLine("Join '{0}'", e.User);
     channels[e.Channel].OnChatEvent(ChatEventType.UserJoin, e.User);
 }