Exemplo n.º 1
0
        void AdPlayer_Navigated(object sender, RoutedEventArgs e)
        {
            var clickEventArgs = new ClickThroughEventArgs()
            {
                Url = NavigateUri.OriginalString
            };

            clickEventArgs.PlayerHandles = !(e.OriginalSource is HyperlinkButton && ((HyperlinkButton)e.OriginalSource).NavigateUri != null);
            if (AdClickThru != null)
            {
                AdClickThru(this, clickEventArgs);
            }
        }
 void Vpaid_AdClickThru(object sender, ClickThroughEventArgs e)
 {
     OnInteracting();
 }
 void Vpaid_AdClickThru(object sender, ClickThroughEventArgs e)
 {
     if (e.PlayerHandles)
     {
         if (NavigationRequest != null) NavigationRequest(this, new NavigationRequestEventArgs(e.Url));
     }
 }
 void AdPlayer_Navigated(object sender, RoutedEventArgs e)
 {
     var clickEventArgs = new ClickThroughEventArgs() { Url = ClickThru.OriginalString };
     clickEventArgs.PlayerHandles = !(e.OriginalSource is HyperlinkButton && ((HyperlinkButton)e.OriginalSource).NavigateUri != null);
     if (AdClickThru != null) AdClickThru(this, clickEventArgs);
 }
 void Vpaid_AdClickThru(object sender, ClickThroughEventArgs e)
 {
     OnInteracting();
 }