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