示例#1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TuneYourMood;component/SongDetailsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.songPanel = ((System.Windows.Controls.Grid)(this.FindName("songPanel")));
     this.mediaPlayer = ((System.Windows.Controls.MediaElement)(this.FindName("mediaPlayer")));
     this.songTextBox = ((System.Windows.Controls.TextBlock)(this.FindName("songTextBox")));
     this.artImage = ((System.Windows.Controls.Image)(this.FindName("artImage")));
     this.authorTextBox = ((System.Windows.Controls.TextBlock)(this.FindName("authorTextBox")));
     this.prevButton = ((Phone7.Fx.Controls.BindableApplicationBarIconButton)(this.FindName("prevButton")));
     this.playButton = ((Phone7.Fx.Controls.BindableApplicationBarIconButton)(this.FindName("playButton")));
     this.nextButton = ((Phone7.Fx.Controls.BindableApplicationBarIconButton)(this.FindName("nextButton")));
 }
示例#2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TuneYourMood;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.customStyle = ((System.Windows.Style)(this.FindName("customStyle")));
     this.background = ((System.Windows.Controls.Image)(this.FindName("background")));
     this.panorama = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panorama")));
     this.panoramaBG = ((System.Windows.Media.ImageBrush)(this.FindName("panoramaBG")));
     this.topTagsList = ((System.Windows.Controls.ListBox)(this.FindName("topTagsList")));
     this.selectedTagsList = ((System.Windows.Controls.ListBox)(this.FindName("selectedTagsList")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.textBlock1 = ((System.Windows.Controls.HyperlinkButton)(this.FindName("textBlock1")));
     this.textBlock3 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock4")));
     this.emailUrlButton = ((System.Windows.Controls.TextBlock)(this.FindName("emailUrlButton")));
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock5 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock5")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.textBlock6 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock6")));
     this.webBrowser1 = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("webBrowser1")));
     this.customProgressOverlay = ((Telerik.Windows.Controls.RadBusyIndicator)(this.FindName("customProgressOverlay")));
     this.goToPlayerButton = ((Phone7.Fx.Controls.BindableApplicationBarIconButton)(this.FindName("goToPlayerButton")));
 }