void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWin = ((PlayMusic.MainWindow)(target)); #line 5 "..\..\MainWindow.xaml" this.MainWin.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.CMenu = ((System.Windows.Controls.Menu)(target)); return; case 3: this.saveEdits = ((System.Windows.Controls.MenuItem)(target)); #line 34 "..\..\MainWindow.xaml" this.saveEdits.Click += new System.Windows.RoutedEventHandler(this.saveEdits_Click); #line default #line hidden return; case 4: this.MusLocation = ((System.Windows.Controls.MenuItem)(target)); #line 35 "..\..\MainWindow.xaml" this.MusLocation.Click += new System.Windows.RoutedEventHandler(this.MusLocation_Click); #line default #line hidden return; case 5: this.RefreshMus = ((System.Windows.Controls.MenuItem)(target)); #line 36 "..\..\MainWindow.xaml" this.RefreshMus.Click += new System.Windows.RoutedEventHandler(this.refreshMusic); #line default #line hidden return; case 6: #line 38 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.close); #line default #line hidden return; case 7: this.MenuPP = ((System.Windows.Controls.MenuItem)(target)); #line 41 "..\..\MainWindow.xaml" this.MenuPP.Click += new System.Windows.RoutedEventHandler(this.btnPlayPause_Click); #line default #line hidden return; case 8: this.MenuNext = ((System.Windows.Controls.MenuItem)(target)); #line 42 "..\..\MainWindow.xaml" this.MenuNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click); #line default #line hidden return; case 9: this.MenuShuffle = ((System.Windows.Controls.MenuItem)(target)); #line 43 "..\..\MainWindow.xaml" this.MenuShuffle.Click += new System.Windows.RoutedEventHandler(this.btnShuffle_Click); #line default #line hidden return; case 10: this.SongName = ((System.Windows.Controls.Label)(target)); return; case 11: this.ArtistName = ((System.Windows.Controls.Label)(target)); return; case 12: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 13: this.btnPlayPause = ((System.Windows.Controls.Label)(target)); #line 71 "..\..\MainWindow.xaml" this.btnPlayPause.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnPlayPause_Click); #line default #line hidden return; case 14: this.btnNext = ((System.Windows.Controls.Label)(target)); #line 72 "..\..\MainWindow.xaml" this.btnNext.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnNext_Click); #line default #line hidden return; case 15: this.btnShuffle = ((System.Windows.Controls.Label)(target)); #line 73 "..\..\MainWindow.xaml" this.btnShuffle.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnShuffle_Click); #line default #line hidden return; case 16: this.toggleSong = ((System.Windows.Controls.Label)(target)); #line 74 "..\..\MainWindow.xaml" this.toggleSong.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnTgl_Click); #line default #line hidden return; case 17: this.sBox = ((System.Windows.Controls.Grid)(target)); return; case 18: this.songList = ((System.Windows.Controls.DataGrid)(target)); #line 78 "..\..\MainWindow.xaml" this.songList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.songList_SelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }