Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Safire.Library.ArtistList)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.noresults = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.lst = ((Xceed.Wpf.DataGrid.DataGridControl)(target));

            #line 59 "..\..\..\Library\ArtistList.xaml"
                this.lst.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lst_PreviewMouseDoubleClick);

            #line default
            #line hidden
                return;

            case 5:
                this.albums = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.duration = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.artist = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.tracklist = ((Xceed.Wpf.DataGrid.DataGridControl)(target));

            #line 84 "..\..\..\Library\ArtistList.xaml"
                this.tracklist.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.tracklist_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 9:
                this.rateCtl = ((Safire.Library.RateControl)(target));
                return;

            case 10:
                this.selArtist = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Safire.Library.LibraryControl)(target));

            #line 18 "..\..\..\Library\Library.xaml"
                this.UserControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Tabs = ((MahApps.Metro.Controls.MetroTabControl)(target));

            #line 120 "..\..\..\Library\Library.xaml"
                this.Tabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabSelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.noresults = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.tracklist = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
                return;

            case 7:
                this.artistList = ((Safire.Library.ArtistList)(target));
                return;

            case 8:
                this.albumLst = ((Safire.Library.AlbumList)(target));
                return;

            case 9:
                this.genreLst = ((Safire.Library.GenreList)(target));
                return;

            case 10:
                this.grdDD = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.Container = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.plugTree = ((System.Windows.Controls.TreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Safire.Library.LibraryControl)(target));

            #line 18 "..\..\..\Library\Library.xaml"
                this.UserControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.Tabs = ((MahApps.Metro.Controls.MetroTabControl)(target));

            #line 122 "..\..\..\Library\Library.xaml"
                this.Tabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabSelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.noresults = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.tracklist = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
                return;

            case 8:

            #line 142 "..\..\..\Library\Library.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuPlaySong);

            #line default
            #line hidden
                return;

            case 9:

            #line 147 "..\..\..\Library\Library.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuShowInformation);

            #line default
            #line hidden
                return;

            case 10:

            #line 152 "..\..\..\Library\Library.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuShowInFolder);

            #line default
            #line hidden
                return;

            case 11:

            #line 158 "..\..\..\Library\Library.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuRemoveFromLibrary);

            #line default
            #line hidden
                return;

            case 12:

            #line 163 "..\..\..\Library\Library.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuDeleteFile);

            #line default
            #line hidden
                return;

            case 13:
                this.artistList = ((Safire.Library.ArtistList)(target));
                return;

            case 14:
                this.albumLst = ((Safire.Library.AlbumList)(target));
                return;

            case 15:
                this.genreLst = ((Safire.Library.GenreList)(target));
                return;

            case 16:
                this.grdDD = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.Container = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.plugTree = ((System.Windows.Controls.TreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }