Пример #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            banner = (global::AppotaAds.Banner)this.FindName("banner");
            fullscreen = (global::AppotaAds.FullScreen)this.FindName("fullscreen");
            OfferWall = (global::AppotaAds.OfferWall)this.FindName("OfferWall");
            btnBanner = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnBanner");
            btnScreen = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnScreen");
            btnOfferWall = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnOfferWall");
        }
Пример #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            banner       = (global::AppotaAds.Banner) this.FindName("banner");
            fullscreen   = (global::AppotaAds.FullScreen) this.FindName("fullscreen");
            OfferWall    = (global::AppotaAds.OfferWall) this.FindName("OfferWall");
            btnBanner    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnBanner");
            btnScreen    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnScreen");
            btnOfferWall = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnOfferWall");
        }