コード例 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MusicPlayer;component/CurrentSongsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.TBSerch = ((System.Windows.Controls.TextBox)(this.FindName("TBSerch")));
     this.BTNSerch = ((System.Windows.Controls.Button)(this.FindName("BTNSerch")));
     this.ec = ((MusicPlayer.Control.ErrorboxControl)(this.FindName("ec")));
     this.currentLls = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("currentLls")));
 }
コード例 #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MusicPlayer;component/Control/LrcControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ec = ((MusicPlayer.Control.ErrorboxControl)(this.FindName("ec")));
     this.LBLyric = ((System.Windows.Controls.ListBox)(this.FindName("LBLyric")));
     this.BTNLrcManage = ((System.Windows.Controls.Button)(this.FindName("BTNLrcManage")));
     this.BTNLrcSearch = ((System.Windows.Controls.Button)(this.FindName("BTNLrcSearch")));
     this.IMGAlbumArt = ((System.Windows.Controls.Image)(this.FindName("IMGAlbumArt")));
     this.TBSongName = ((System.Windows.Controls.TextBlock)(this.FindName("TBSongName")));
     this.TBArtistName = ((System.Windows.Controls.TextBlock)(this.FindName("TBArtistName")));
 }