internal void Hello(Chatroom c) { chatroom = c; //Message m = new Message(this.user, $"{this.user.name} entered!", c, true); Enter m = new Enter(this.user,$"{this.user.name} entered!", c, true); Send(m); }
public Wrapper(User user,Color color,Communicator communicator,Chatroom chatroom) { this.user = user; this.color = color; this.communicator = communicator; this.chatroom = chatroom; }
private void Refresh_Element(Chatroom e) { lbDetails.Content = e.getDetails(); }
public Leave(User sender, string message, Chatroom chatroom, bool doBroadcast) : base(sender, message, chatroom, doBroadcast) { }
public Management(User sender,User recipient,Chatroom Mgmt_Chatroom,List<Chatroom> Chatrooms) : base(sender,string.Empty,Mgmt_Chatroom,false) { this.Chatrooms = Chatrooms; this.recipient = recipient; }