Exemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Jukebox.Client2;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.searchBusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("searchBusyIndicator")));
     this.SearchResultsControl1 = ((Jukebox.Client2.SearchResultsControl)(this.FindName("SearchResultsControl1")));
     this.NowPlayingControl1 = ((Jukebox.Client2.NowPlayingControl)(this.FindName("NowPlayingControl1")));
     this.PlaylistControl1 = ((Jukebox.Client2.PlaylistControl)(this.FindName("PlaylistControl1")));
     this.PlaylistInfoControl1 = ((Jukebox.Client2.PlaylistInfoControl)(this.FindName("PlaylistInfoControl1")));
 }
Exemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Jukebox.Client2;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.searchBusyIndicator   = ((System.Windows.Controls.BusyIndicator)(this.FindName("searchBusyIndicator")));
     this.SearchResultsControl1 = ((Jukebox.Client2.SearchResultsControl)(this.FindName("SearchResultsControl1")));
     this.NowPlayingControl1    = ((Jukebox.Client2.NowPlayingControl)(this.FindName("NowPlayingControl1")));
     this.PlaylistControl1      = ((Jukebox.Client2.PlaylistControl)(this.FindName("PlaylistControl1")));
     this.PlaylistInfoControl1  = ((Jukebox.Client2.PlaylistInfoControl)(this.FindName("PlaylistInfoControl1")));
 }