Пример #1
0
 public Renderer(BlinkGrid blinkGrid)
 {
     BlinkG = blinkGrid;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 106 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchSettingsWindow);

            #line default
            #line hidden
                return;

            case 2:

            #line 125 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPlaylist);

            #line default
            #line hidden
                return;

            case 3:

            #line 129 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RemovePlaylist);

            #line default
            #line hidden
                return;

            case 4:
                this.playlistName = ((System.Windows.Controls.ComboBox)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.playlistName.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Playlist_TextChanged);

            #line default
            #line hidden

            #line 136 "..\..\MainWindow.xaml"
                this.playlistName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.playlistName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.playlist = ((Safire.Controls.Interactive.SortableListView)(target));
                return;

            case 6:

            #line 155 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenLocalPlaylist);

            #line default
            #line hidden
                return;

            case 7:

            #line 160 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveLocalPlaylist);

            #line default
            #line hidden
                return;

            case 8:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.BackgroundImage = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.NavPanel = ((System.Windows.Controls.Border)(target));
                return;

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

            case 12:
                this.MainNav = ((System.Windows.Controls.TabControl)(target));

            #line 180 "..\..\MainWindow.xaml"
                this.MainNav.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainNav_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.grdPan = ((System.Windows.Controls.Grid)(target));

            #line 183 "..\..\MainWindow.xaml"
                this.grdPan.MouseMove += new System.Windows.Input.MouseEventHandler(this.canvasPan);

            #line default
            #line hidden

            #line 183 "..\..\MainWindow.xaml"
                this.grdPan.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.panStart);

            #line default
            #line hidden
                return;

            case 14:
                this.pancanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.grdNowPlaying = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.borAlb = ((System.Windows.Controls.Border)(target));
                return;

            case 17:
                this.AlbArt = ((System.Windows.Controls.Image)(target));

            #line 207 "..\..\MainWindow.xaml"
                this.AlbArt.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AlbArt_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 18:
                this.icoAlb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.borGen = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.icoGen = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.borArt = ((System.Windows.Controls.Border)(target));
                return;

            case 22:
                this.ArtistArt = ((System.Windows.Controls.Image)(target));

            #line 243 "..\..\MainWindow.xaml"
                this.ArtistArt.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ArtistArt_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 23:
                this.icoArt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.recentWraps = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 25:
                this.borAlb1 = ((MahApps.Metro.Controls.Tile)(target));

            #line 257 "..\..\MainWindow.xaml"
                this.borAlb1.Click += new System.Windows.RoutedEventHandler(this.recenticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 26:
                this.AlbArt1 = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.icoAlb1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.borAlb1_Copy = ((MahApps.Metro.Controls.Tile)(target));

            #line 271 "..\..\MainWindow.xaml"
                this.borAlb1_Copy.Click += new System.Windows.RoutedEventHandler(this.recenticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 29:
                this.AlbArt2 = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.icoAlb2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.borAlb1_Copy1 = ((MahApps.Metro.Controls.Tile)(target));

            #line 285 "..\..\MainWindow.xaml"
                this.borAlb1_Copy1.Click += new System.Windows.RoutedEventHandler(this.recenticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 32:
                this.AlbArt3 = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.icoAlb3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.borAlb1_Copy2 = ((MahApps.Metro.Controls.Tile)(target));

            #line 299 "..\..\MainWindow.xaml"
                this.borAlb1_Copy2.Click += new System.Windows.RoutedEventHandler(this.recenticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 35:
                this.AlbArt4 = ((System.Windows.Controls.Image)(target));
                return;

            case 36:
                this.icoAlb4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.mostWraps = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 38:
                this.borAlb2 = ((MahApps.Metro.Controls.Tile)(target));

            #line 321 "..\..\MainWindow.xaml"
                this.borAlb2.Click += new System.Windows.RoutedEventHandler(this.mosticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 39:
                this.AlbArt5 = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.icoAlb5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.borAlb1_Copy3 = ((MahApps.Metro.Controls.Tile)(target));

            #line 335 "..\..\MainWindow.xaml"
                this.borAlb1_Copy3.Click += new System.Windows.RoutedEventHandler(this.mosticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 42:
                this.AlbArt6 = ((System.Windows.Controls.Image)(target));
                return;

            case 43:
                this.icoAlb6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.borAlb1_Copy4 = ((MahApps.Metro.Controls.Tile)(target));

            #line 349 "..\..\MainWindow.xaml"
                this.borAlb1_Copy4.Click += new System.Windows.RoutedEventHandler(this.mosticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 45:
                this.AlbArt7 = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this.icoAlb7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.borAlb1_Copy5 = ((MahApps.Metro.Controls.Tile)(target));

            #line 363 "..\..\MainWindow.xaml"
                this.borAlb1_Copy5.Click += new System.Windows.RoutedEventHandler(this.mosticon_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 48:
                this.AlbArt8 = ((System.Windows.Controls.Image)(target));
                return;

            case 49:
                this.icoAlb8 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.chartsGrd = ((System.Windows.Controls.Grid)(target));
                return;

            case 51:
                this.mostWraps1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 52:
                this.borAlb3 = ((MahApps.Metro.Controls.Tile)(target));

            #line 385 "..\..\MainWindow.xaml"
                this.borAlb3.Click += new System.Windows.RoutedEventHandler(this.topCharts_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 53:
                this.chartArt = ((System.Windows.Controls.Image)(target));
                return;

            case 54:
                this.icoChart = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.hLibrary = ((Safire.Library.LibraryControl)(target));
                return;

            case 56:
                this.FxPanel = ((Safire.Fx.UserControl1)(target));
                return;

            case 57:
                this.MnuSearchSongs = ((System.Windows.Controls.MenuItem)(target));

            #line 429 "..\..\MainWindow.xaml"
                this.MnuSearchSongs.Click += new System.Windows.RoutedEventHandler(this.SearchMenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 58:
                this.MnuSearchArtists = ((System.Windows.Controls.MenuItem)(target));

            #line 431 "..\..\MainWindow.xaml"
                this.MnuSearchArtists.Click += new System.Windows.RoutedEventHandler(this.SearchMenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 59:
                this.MnuSearchAlbums = ((System.Windows.Controls.MenuItem)(target));

            #line 434 "..\..\MainWindow.xaml"
                this.MnuSearchAlbums.Click += new System.Windows.RoutedEventHandler(this.SearchMenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 60:
                this.MnuSearchGenres = ((System.Windows.Controls.MenuItem)(target));

            #line 437 "..\..\MainWindow.xaml"
                this.MnuSearchGenres.Click += new System.Windows.RoutedEventHandler(this.SearchMenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 61:
                this.txtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 445 "..\..\MainWindow.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

            #line default
            #line hidden

            #line 446 "..\..\MainWindow.xaml"
                this.txtSearch.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtSearch_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 62:
                this.GrdControlBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 63:
                this.ControlBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 64:
                this.btnPlayPause = ((System.Windows.Controls.Button)(target));

            #line 459 "..\..\MainWindow.xaml"
                this.btnPlayPause.Click += new System.Windows.RoutedEventHandler(this.PlayListFlyOut);

            #line default
            #line hidden
                return;

            case 65:
                this.togCycle = ((System.Windows.Controls.Button)(target));

            #line 464 "..\..\MainWindow.xaml"
                this.togCycle.Click += new System.Windows.RoutedEventHandler(this.togCycleClick);

            #line default
            #line hidden
                return;

            case 66:
                this.togScrobble = ((System.Windows.Controls.Button)(target));

            #line 468 "..\..\MainWindow.xaml"
                this.togScrobble.Click += new System.Windows.RoutedEventHandler(this.togScrobbleClick);

            #line default
            #line hidden
                return;

            case 67:
                this.TblkTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.TblkArtist = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.TblkAlbum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.seeker = ((System.Windows.Controls.Slider)(target));

            #line 489 "..\..\MainWindow.xaml"
                this.seeker.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.seeker_ValueChanged);

            #line default
            #line hidden
                return;

            case 71:
                this.cvol = ((System.Windows.Controls.Slider)(target));

            #line 497 "..\..\MainWindow.xaml"
                this.cvol.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Volume_ValueChanged);

            #line default
            #line hidden
                return;

            case 72:
                this.progPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 73:
                this.pgRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 74:
                this.pgCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 75:
                this.blinkGrid = ((Kornea.Blink.BlinkGrid)(target));
                return;

            case 76:
                this.BlinkBackBtn = ((System.Windows.Controls.Button)(target));

            #line 521 "..\..\MainWindow.xaml"
                this.BlinkBackBtn.Click += new System.Windows.RoutedEventHandler(this.BlinkBack);

            #line default
            #line hidden
                return;

            case 77:
                this.fsBlink = ((Kornea.Blink.BlinkGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }