/// <summary> /// The button to answer an incoming call. /// </summary> private void AnswerButton_Click(object sender, System.Windows.RoutedEventArgs e) { _activeClient.Answer(_mediaManager); m_answerButton.Visibility = Visibility.Collapsed; m_rejectButton.Visibility = Visibility.Collapsed; }
/// <summary> /// The button to answer an incoming call. /// </summary> private void AnswerButton_Click(object sender, System.Windows.RoutedEventArgs e) { _activeClient.Answer(); SetVisibility(m_answerButton, Visibility.Collapsed); SetVisibility(m_rejectButton, Visibility.Collapsed); }