private void JoinChannelBtn_Click(object sender, RoutedEventArgs e)
 {
     channel = new Channel() { Name = JoinChannelText.Text, MessageLog = new MessageLog(), IsOpened = true };
     var message = new MessageBuilder().BuildCommand(Enums.CommandType.GetChannels, channel, "jug-eared");
     server.SendMessage(message);
 }
 private void SendToServerBtn_Click(object sender, RoutedEventArgs e)
 {
     var message2 = new MessageBuilder().BuildServerMessage(channel, "jug-eared", SendMessageText.Text);
     server.SendMessage(message2);
 }