void nextAdButton_Click(object sender, RoutedEventArgs e) { _adControl.RequestNextAd(); waitEvent.Set(); }