private void OnRoomChanged(Room room) { if (room.Id != 0) { this.Dispatcher.Invoke(() => { childRoom = new RoomView(this, room); mainFrame.Navigate(childRoom); }); } }
internal void ClientBackToWaitingRoom() { childRoom = null; if (Connection.Client.Status == Status.Online) { ChangeStatusBT.Content = "Dostępny"; } else { ChangeStatusBT.Content = "Zaraz Wracam"; } RoomRecipientLabel.Grid_MouseUp(null, null); }