Пример #1
0
 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);
 }
Пример #2
0
 public Wrapper(User user,Color color,Communicator communicator,Chatroom chatroom)
 {
     this.user = user;
     this.color = color;
     this.communicator = communicator;
     this.chatroom = chatroom;
 }
Пример #3
0
 private void Refresh_Element(Chatroom e)
 {
     lbDetails.Content = e.getDetails();
 }
Пример #4
0
Файл: Leave.cs Проект: kper/chat
 public Leave(User sender, string message, Chatroom chatroom, bool doBroadcast)
     : base(sender, message, chatroom, doBroadcast)
 {
 }
Пример #5
0
 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;
 }