public static void ShowMobfoxAds(DrawingSurfaceBackgroundGrid DrawingSurfaceBackground)
 {
     if (adview == null)
     {
         adview = new MobFox.Ads.AdControl();
         // adview.Name = "mobFoxadControl";
         adview.NewAd += mobFoxadControl_NewAd;
         adview.NoAd += noAdsMobfox;
         adview.PublisherID = AdsManager.STR_PUBLISH_ID_MOBFOX;
         adview.VerticalAlignment = VerticalAlignment.Bottom;
         // adview.TestMode = true;           
         DrawingSurfaceBackground.Children.Add(adview);
     }
 }
Exemplo n.º 2
0
 public static void ShowMobfoxAds(DrawingSurfaceBackgroundGrid DrawingSurfaceBackground)
 {
     if (adview == null)
     {
         adview = new MobFox.Ads.AdControl();
         // adview.Name = "mobFoxadControl";
         adview.NewAd            += mobFoxadControl_NewAd;
         adview.NoAd             += noAdsMobfox;
         adview.PublisherID       = AdsManager.STR_PUBLISH_ID_MOBFOX;
         adview.VerticalAlignment = VerticalAlignment.Bottom;
         // adview.TestMode = true;
         DrawingSurfaceBackground.Children.Add(adview);
     }
 }