Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main = ((TMMediaPlayer.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.Main.MouseMove += new System.Windows.Input.MouseEventHandler(this.MainMouseMove);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     this.Main.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WindowSizeChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 57 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewCMD);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 58 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCMD);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 59 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCMD);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 60 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PlayCMD);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 61 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FFCMD);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 62 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SkipCMD);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 63 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RWCMD);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 64 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PreviousCMD);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 65 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.StopCMD);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 66 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RepeatCMD);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 67 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeOnOffCMD);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 68 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeDownCMD);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 69 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeUpCMD);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 70 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FullScreenCMD);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 71 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AboutCMD);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 72 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ShowVideoCMD);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 73 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ColorCMD);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 74 "..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RefreshCMD);
     
     #line default
     #line hidden
     return;
     case 20:
     this.Dock = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 21:
     this.menu = ((System.Windows.Controls.Menu)(target));
     return;
     case 22:
     
     #line 99 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.New);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 100 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Open);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 101 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Refresh);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 102 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Close);
     
     #line default
     #line hidden
     return;
     case 26:
     this.MPlay = ((System.Windows.Controls.MenuItem)(target));
     
     #line 105 "..\..\MainWindow.xaml"
     this.MPlay.Click += new System.Windows.RoutedEventHandler(this.PlayPause);
     
     #line default
     #line hidden
     return;
     case 27:
     this.MStop = ((System.Windows.Controls.MenuItem)(target));
     
     #line 106 "..\..\MainWindow.xaml"
     this.MStop.Click += new System.Windows.RoutedEventHandler(this.Stop);
     
     #line default
     #line hidden
     return;
     case 28:
     this.MSkip = ((System.Windows.Controls.MenuItem)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.MSkip.Click += new System.Windows.RoutedEventHandler(this.Skip);
     
     #line default
     #line hidden
     return;
     case 29:
     this.MPrevious = ((System.Windows.Controls.MenuItem)(target));
     
     #line 108 "..\..\MainWindow.xaml"
     this.MPrevious.Click += new System.Windows.RoutedEventHandler(this.Previous);
     
     #line default
     #line hidden
     return;
     case 30:
     this.MMute = ((System.Windows.Controls.MenuItem)(target));
     
     #line 109 "..\..\MainWindow.xaml"
     this.MMute.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);
     
     #line default
     #line hidden
     return;
     case 31:
     this.MRepeat = ((System.Windows.Controls.MenuItem)(target));
     
     #line 110 "..\..\MainWindow.xaml"
     this.MRepeat.Click += new System.Windows.RoutedEventHandler(this.Repeat);
     
     #line default
     #line hidden
     return;
     case 32:
     this.MAbout = ((System.Windows.Controls.MenuItem)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.MAbout.Click += new System.Windows.RoutedEventHandler(this.About);
     
     #line default
     #line hidden
     return;
     case 33:
     this.MFullScreen = ((System.Windows.Controls.MenuItem)(target));
     
     #line 114 "..\..\MainWindow.xaml"
     this.MFullScreen.Click += new System.Windows.RoutedEventHandler(this.FullScreen);
     
     #line default
     #line hidden
     return;
     case 34:
     this.MShowVideoWindow = ((System.Windows.Controls.MenuItem)(target));
     
     #line 115 "..\..\MainWindow.xaml"
     this.MShowVideoWindow.Click += new System.Windows.RoutedEventHandler(this.ShowVideo);
     
     #line default
     #line hidden
     return;
     case 35:
     this.MChangeColor = ((System.Windows.Controls.MenuItem)(target));
     
     #line 116 "..\..\MainWindow.xaml"
     this.MChangeColor.Click += new System.Windows.RoutedEventHandler(this.Color);
     
     #line default
     #line hidden
     return;
     case 36:
     this.Canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 37:
     this.SongNameBlack = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.AddButton = ((System.Windows.Controls.Button)(target));
     
     #line 127 "..\..\MainWindow.xaml"
     this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddToPlaylist);
     
     #line default
     #line hidden
     return;
     case 39:
     this.RemoveButton = ((System.Windows.Controls.Button)(target));
     
     #line 128 "..\..\MainWindow.xaml"
     this.RemoveButton.Click += new System.Windows.RoutedEventHandler(this.RemoveFromPlaylist);
     
     #line default
     #line hidden
     return;
     case 40:
     this.Listbox2 = ((System.Windows.Controls.ListBox)(target));
     
     #line 129 "..\..\MainWindow.xaml"
     this.Listbox2.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Listbox2DoubleClick);
     
     #line default
     #line hidden
     
     #line 129 "..\..\MainWindow.xaml"
     this.Listbox2.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Listbox2KeyDown);
     
     #line default
     #line hidden
     
     #line 129 "..\..\MainWindow.xaml"
     this.Listbox2.GotFocus += new System.Windows.RoutedEventHandler(this.Listbox2GotFocus);
     
     #line default
     #line hidden
     
     #line 129 "..\..\MainWindow.xaml"
     this.Listbox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Listbox2_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 41:
     this.Listbox1 = ((System.Windows.Controls.ListBox)(target));
     
     #line 130 "..\..\MainWindow.xaml"
     this.Listbox1.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Listbox1DoubleClick);
     
     #line default
     #line hidden
     
     #line 130 "..\..\MainWindow.xaml"
     this.Listbox1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Listbox1KeyDown);
     
     #line default
     #line hidden
     
     #line 130 "..\..\MainWindow.xaml"
     this.Listbox1.GotFocus += new System.Windows.RoutedEventHandler(this.Listbox1GotFocus);
     
     #line default
     #line hidden
     
     #line 130 "..\..\MainWindow.xaml"
     this.Listbox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Listbox1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 42:
     this.Search = ((System.Windows.Controls.Label)(target));
     return;
     case 43:
     this.SearchBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 132 "..\..\MainWindow.xaml"
     this.SearchBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchBoxChanged);
     
     #line default
     #line hidden
     
     #line 132 "..\..\MainWindow.xaml"
     this.SearchBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.SearchBoxKeyDown);
     
     #line default
     #line hidden
     return;
     case 44:
     this.Combobox1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 133 "..\..\MainWindow.xaml"
     this.Combobox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Combobox1SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 45:
     this.MediaBacking = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 46:
     this.Player = ((System.Windows.Controls.MediaElement)(target));
     
     #line 135 "..\..\MainWindow.xaml"
     this.Player.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PlayerClick);
     
     #line default
     #line hidden
     return;
     case 47:
     this.PlayButton = ((System.Windows.Controls.Button)(target));
     
     #line 136 "..\..\MainWindow.xaml"
     this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayPause);
     
     #line default
     #line hidden
     return;
     case 48:
     this.PauseButton = ((System.Windows.Controls.Button)(target));
     
     #line 147 "..\..\MainWindow.xaml"
     this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PlayPause);
     
     #line default
     #line hidden
     return;
     case 49:
     this.FastForwardButton = ((System.Windows.Controls.Button)(target));
     
     #line 158 "..\..\MainWindow.xaml"
     this.FastForwardButton.Click += new System.Windows.RoutedEventHandler(this.FastForward);
     
     #line default
     #line hidden
     return;
     case 50:
     this.SkipButton = ((System.Windows.Controls.Button)(target));
     
     #line 169 "..\..\MainWindow.xaml"
     this.SkipButton.Click += new System.Windows.RoutedEventHandler(this.Skip);
     
     #line default
     #line hidden
     return;
     case 51:
     this.StopButton = ((System.Windows.Controls.Button)(target));
     
     #line 180 "..\..\MainWindow.xaml"
     this.StopButton.Click += new System.Windows.RoutedEventHandler(this.Stop);
     
     #line default
     #line hidden
     return;
     case 52:
     this.ShuffleButton = ((System.Windows.Controls.Button)(target));
     
     #line 191 "..\..\MainWindow.xaml"
     this.ShuffleButton.Click += new System.Windows.RoutedEventHandler(this.Shuffle);
     
     #line default
     #line hidden
     return;
     case 53:
     this.RepeatButton = ((System.Windows.Controls.Button)(target));
     
     #line 202 "..\..\MainWindow.xaml"
     this.RepeatButton.Click += new System.Windows.RoutedEventHandler(this.Repeat);
     
     #line default
     #line hidden
     return;
     case 54:
     this.RewindButton = ((System.Windows.Controls.Button)(target));
     
     #line 213 "..\..\MainWindow.xaml"
     this.RewindButton.Click += new System.Windows.RoutedEventHandler(this.Rewind);
     
     #line default
     #line hidden
     return;
     case 55:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 224 "..\..\MainWindow.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.Previous);
     
     #line default
     #line hidden
     return;
     case 56:
     this.VolumeButtonOn = ((System.Windows.Controls.Button)(target));
     
     #line 235 "..\..\MainWindow.xaml"
     this.VolumeButtonOn.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);
     
     #line default
     #line hidden
     return;
     case 57:
     this.VolumeButtonOff = ((System.Windows.Controls.Button)(target));
     
     #line 246 "..\..\MainWindow.xaml"
     this.VolumeButtonOff.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);
     
     #line default
     #line hidden
     return;
     case 58:
     this.VolumeSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 257 "..\..\MainWindow.xaml"
     this.VolumeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.SetVolume);
     
     #line default
     #line hidden
     return;
     case 59:
     this.TimeSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 262 "..\..\MainWindow.xaml"
     this.TimeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.SetTime);
     
     #line default
     #line hidden
     return;
     case 60:
     this.CurrentTime = ((System.Windows.Controls.Label)(target));
     return;
     case 61:
     this.TotalTime = ((System.Windows.Controls.Label)(target));
     return;
     case 62:
     this.SongName = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((TMMediaPlayer.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.Main.MouseMove += new System.Windows.Input.MouseEventHandler(this.MainMouseMove);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                this.Main.SizeChanged += new System.Windows.SizeChangedEventHandler(this.WindowSizeChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewCMD);

            #line default
            #line hidden
                return;

            case 3:

            #line 54 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCMD);

            #line default
            #line hidden
                return;

            case 4:

            #line 55 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCMD);

            #line default
            #line hidden
                return;

            case 5:

            #line 56 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PlayCMD);

            #line default
            #line hidden
                return;

            case 6:

            #line 57 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FFCMD);

            #line default
            #line hidden
                return;

            case 7:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SkipCMD);

            #line default
            #line hidden
                return;

            case 8:

            #line 59 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RWCMD);

            #line default
            #line hidden
                return;

            case 9:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PreviousCMD);

            #line default
            #line hidden
                return;

            case 10:

            #line 61 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.StopCMD);

            #line default
            #line hidden
                return;

            case 11:

            #line 62 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RepeatCMD);

            #line default
            #line hidden
                return;

            case 12:

            #line 63 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeOnOffCMD);

            #line default
            #line hidden
                return;

            case 13:

            #line 64 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeDownCMD);

            #line default
            #line hidden
                return;

            case 14:

            #line 65 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.VolumeUpCMD);

            #line default
            #line hidden
                return;

            case 15:

            #line 66 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FullScreenCMD);

            #line default
            #line hidden
                return;

            case 16:

            #line 67 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AboutCMD);

            #line default
            #line hidden
                return;

            case 17:

            #line 68 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ShowVideoCMD);

            #line default
            #line hidden
                return;

            case 18:

            #line 69 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ColorCMD);

            #line default
            #line hidden
                return;

            case 19:
                this.Dock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 20:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 21:

            #line 93 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.New);

            #line default
            #line hidden
                return;

            case 22:

            #line 94 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Open);

            #line default
            #line hidden
                return;

            case 23:

            #line 95 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

            case 24:
                this.MPlay = ((System.Windows.Controls.MenuItem)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.MPlay.Click += new System.Windows.RoutedEventHandler(this.PlayPause);

            #line default
            #line hidden
                return;

            case 25:
                this.MStop = ((System.Windows.Controls.MenuItem)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.MStop.Click += new System.Windows.RoutedEventHandler(this.Stop);

            #line default
            #line hidden
                return;

            case 26:
                this.MSkip = ((System.Windows.Controls.MenuItem)(target));

            #line 100 "..\..\MainWindow.xaml"
                this.MSkip.Click += new System.Windows.RoutedEventHandler(this.Skip);

            #line default
            #line hidden
                return;

            case 27:
                this.MPrevious = ((System.Windows.Controls.MenuItem)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.MPrevious.Click += new System.Windows.RoutedEventHandler(this.Previous);

            #line default
            #line hidden
                return;

            case 28:
                this.MMute = ((System.Windows.Controls.MenuItem)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.MMute.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);

            #line default
            #line hidden
                return;

            case 29:
                this.MRepeat = ((System.Windows.Controls.MenuItem)(target));

            #line 103 "..\..\MainWindow.xaml"
                this.MRepeat.Click += new System.Windows.RoutedEventHandler(this.Repeat);

            #line default
            #line hidden
                return;

            case 30:
                this.MAbout = ((System.Windows.Controls.MenuItem)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.MAbout.Click += new System.Windows.RoutedEventHandler(this.About);

            #line default
            #line hidden
                return;

            case 31:
                this.MFullScreen = ((System.Windows.Controls.MenuItem)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.MFullScreen.Click += new System.Windows.RoutedEventHandler(this.FullScreen);

            #line default
            #line hidden
                return;

            case 32:
                this.MShowVideoWindow = ((System.Windows.Controls.MenuItem)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.MShowVideoWindow.Click += new System.Windows.RoutedEventHandler(this.ShowVideo);

            #line default
            #line hidden
                return;

            case 33:
                this.MChangeColor = ((System.Windows.Controls.MenuItem)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.MChangeColor.Click += new System.Windows.RoutedEventHandler(this.Color);

            #line default
            #line hidden
                return;

            case 34:
                this.Canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 35:
                this.SongNameBlack = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.Listbox1 = ((System.Windows.Controls.ListBox)(target));

            #line 120 "..\..\MainWindow.xaml"
                this.Listbox1.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Listbox1DoubleClick);

            #line default
            #line hidden

            #line 120 "..\..\MainWindow.xaml"
                this.Listbox1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Listbox1KeyDown);

            #line default
            #line hidden
                return;

            case 37:
                this.SearchBox = ((System.Windows.Controls.TextBox)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.SearchBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchBoxChanged);

            #line default
            #line hidden

            #line 122 "..\..\MainWindow.xaml"
                this.SearchBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.SearchBoxKeyDown);

            #line default
            #line hidden
                return;

            case 38:
                this.MediaBacking = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 39:
                this.Player = ((System.Windows.Controls.MediaElement)(target));

            #line 124 "..\..\MainWindow.xaml"
                this.Player.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PlayerClick);

            #line default
            #line hidden
                return;

            case 40:
                this.PlayButton = ((System.Windows.Controls.Button)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayPause);

            #line default
            #line hidden
                return;

            case 41:
                this.PauseButton = ((System.Windows.Controls.Button)(target));

            #line 136 "..\..\MainWindow.xaml"
                this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PlayPause);

            #line default
            #line hidden
                return;

            case 42:
                this.FastForwardButton = ((System.Windows.Controls.Button)(target));

            #line 147 "..\..\MainWindow.xaml"
                this.FastForwardButton.Click += new System.Windows.RoutedEventHandler(this.FastForward);

            #line default
            #line hidden
                return;

            case 43:
                this.SkipButton = ((System.Windows.Controls.Button)(target));

            #line 158 "..\..\MainWindow.xaml"
                this.SkipButton.Click += new System.Windows.RoutedEventHandler(this.Skip);

            #line default
            #line hidden
                return;

            case 44:
                this.StopButton = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\MainWindow.xaml"
                this.StopButton.Click += new System.Windows.RoutedEventHandler(this.Stop);

            #line default
            #line hidden
                return;

            case 45:
                this.RepeatButton = ((System.Windows.Controls.Button)(target));

            #line 180 "..\..\MainWindow.xaml"
                this.RepeatButton.Click += new System.Windows.RoutedEventHandler(this.Repeat);

            #line default
            #line hidden
                return;

            case 46:
                this.RewindButton = ((System.Windows.Controls.Button)(target));

            #line 191 "..\..\MainWindow.xaml"
                this.RewindButton.Click += new System.Windows.RoutedEventHandler(this.Rewind);

            #line default
            #line hidden
                return;

            case 47:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 202 "..\..\MainWindow.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.Previous);

            #line default
            #line hidden
                return;

            case 48:
                this.VolumeButtonOn = ((System.Windows.Controls.Button)(target));

            #line 213 "..\..\MainWindow.xaml"
                this.VolumeButtonOn.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);

            #line default
            #line hidden
                return;

            case 49:
                this.VolumeButtonOff = ((System.Windows.Controls.Button)(target));

            #line 224 "..\..\MainWindow.xaml"
                this.VolumeButtonOff.Click += new System.Windows.RoutedEventHandler(this.VolumeOnOff);

            #line default
            #line hidden
                return;

            case 50:
                this.VolumeSlider = ((System.Windows.Controls.Slider)(target));

            #line 235 "..\..\MainWindow.xaml"
                this.VolumeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SetVolume);

            #line default
            #line hidden
                return;

            case 51:
                this.TimeSlider = ((System.Windows.Controls.Slider)(target));

            #line 240 "..\..\MainWindow.xaml"
                this.TimeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SetTime);

            #line default
            #line hidden
                return;

            case 52:
                this.CurrentTime = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.TotalTime = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.SongName = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }