예제 #1
0
 protected virtual void OnJoinRecieved(JoinRecievedEventArgs e)
 {
     EventHandler<JoinRecievedEventArgs> handler = JoinRecieved;
     if (handler != null)
         handler(this, e);
 }
예제 #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);
 }