private void DisplayActiveConversationView(Conversation activeConversation)
        {
            if (CurrentActiveConversationView == null)
            {
                CurrentActiveConversationView = new ActiveConversationViewControl(activeConversation);
                CurrentActiveConversationView.MicrophoneToggled += OnMicrophoneToggle;
                CurrentActiveConversationView.SpeakerToggled    += OnSpeakerToggle;
                CurrentActiveConversationView.HangedUp          += OnHangedUp;
            }
            else if (CurrentActiveConversationView?.Conversation != activeConversation)
            {
                throw new InvalidOperationException("Cannot show new conversation when there is already one in progress.");
            }

            ActiveConversationGrid.Children.Clear();
            ActiveConversationGrid.Children.Add(CurrentActiveConversationView);
            ActiveConversationRow.Height = new GridLength(2, GridUnitType.Star);
        }
 private void OnHangedUp(ActiveConversationViewControl activeConversationViewControl)
 {
     EndConversation();
 }
 private void OnSpeakerToggle(ActiveConversationViewControl activeConversationViewControl, bool b)
 {
     //TODO: Muting sound
 }
 private void OnMicrophoneToggle(ActiveConversationViewControl activeConversationViewControl, bool b)
 {
     //TODO: Muting microphone
 }