public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/YoutubeApp;component/View/PlaylistChannelPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.avatar_image = ((System.Windows.Controls.Image)(this.FindName("avatar_image")));
     this.channelname_textblock = ((System.Windows.Controls.TextBlock)(this.FindName("channelname_textblock")));
     this.gridlist_gridview = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("gridlist_gridview")));
     this.ad_banner = ((GoogleAds.AdView)(this.FindName("ad_banner")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EngApp;component/Game.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Browser     = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("Browser")));
     this.adView      = ((GoogleAds.AdView)(this.FindName("adView")));
     this.SplashPanel = ((System.Windows.Controls.Image)(this.FindName("SplashPanel")));
 }
Пример #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/YoutubeApp;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.topbanner = ((System.Windows.Shapes.Rectangle)(this.FindName("topbanner")));
     this.botbanner = ((System.Windows.Shapes.Rectangle)(this.FindName("botbanner")));
     this.avatar_image = ((System.Windows.Controls.Image)(this.FindName("avatar_image")));
     this.channelname_textblock = ((System.Windows.Controls.TextBlock)(this.FindName("channelname_textblock")));
     this.playlist_listbox = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("playlist_listbox")));
     this.banner_textblock = ((System.Windows.Controls.TextBlock)(this.FindName("banner_textblock")));
     this.videochannel = ((System.Windows.Controls.Button)(this.FindName("videochannel")));
     this.ad_banner = ((GoogleAds.AdView)(this.FindName("ad_banner")));
 }
Пример #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Ai_La_Trieu_Phu;component/MainPage.xaml", System.UriKind.Relative));
     this.Storyboard_logo     = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard_logo")));
     this.Storyboard_khoidong = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard_khoidong")));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel        = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.logo2        = ((System.Windows.Controls.Image)(this.FindName("logo2")));
     this.batdau       = ((System.Windows.Controls.Image)(this.FindName("batdau")));
     this.caidat       = ((System.Windows.Controls.Image)(this.FindName("caidat")));
     this.gioithieu    = ((System.Windows.Controls.Image)(this.FindName("gioithieu")));
     this.logo1        = ((System.Windows.Controls.Image)(this.FindName("logo1")));
     this.logo3        = ((System.Windows.Controls.Image)(this.FindName("logo3")));
     this.logo4        = ((System.Windows.Controls.Image)(this.FindName("logo4")));
     this.nhac_nen     = ((System.Windows.Controls.MediaElement)(this.FindName("nhac_nen")));
     this.diemcao      = ((System.Windows.Controls.TextBlock)(this.FindName("diemcao")));
     this.banner320x50 = ((AMobiSDK.Banner320x50)(this.FindName("banner320x50")));
     this.BannerAdmob  = ((GoogleAds.AdView)(this.FindName("BannerAdmob")));
 }