void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((YoutubeDownloadHelper.Gui.MainWindow)(target)); #line 9 "..\..\..\GUI\MainWindow.xaml" this.mainWindow.Closed += new System.EventHandler(this.mainWindow_Closed); #line default #line hidden return; case 2: this.mainTabControl = ((System.Windows.Controls.TabControl)(target)); return; case 3: this.queueTab = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.queueGrid = ((System.Windows.Controls.Grid)(target)); return; case 5: this.addUrlButton = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\..\GUI\MainWindow.xaml" this.addUrlButton.Click += new System.Windows.RoutedEventHandler(this.UrlButton_Click); #line default #line hidden return; case 6: this.modifyUrlButton = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\..\GUI\MainWindow.xaml" this.modifyUrlButton.Click += new System.Windows.RoutedEventHandler(this.UrlButton_Click); #line default #line hidden return; case 7: this.moveQueuedItemUp = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\GUI\MainWindow.xaml" this.moveQueuedItemUp.Click += new System.Windows.RoutedEventHandler(this.moveQueuedItem_Click); #line default #line hidden return; case 8: this.upArrowGrid = ((System.Windows.Controls.Grid)(target)); return; case 9: this.upArrowImage = ((System.Windows.Controls.Image)(target)); return; case 10: this.moveQueuedItemDown = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\..\GUI\MainWindow.xaml" this.moveQueuedItemDown.Click += new System.Windows.RoutedEventHandler(this.moveQueuedItem_Click); #line default #line hidden return; case 11: this.downArrowGrid = ((System.Windows.Controls.Grid)(target)); return; case 12: this.downArrowImage = ((System.Windows.Controls.Image)(target)); return; case 13: this.queueListView = ((System.Windows.Controls.ListView)(target)); #line 127 "..\..\..\GUI\MainWindow.xaml" this.queueListView.KeyUp += new System.Windows.Input.KeyEventHandler(this.queueListView_KeyUp); #line default #line hidden return; case 14: this.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 15: this.optionsMenu = ((System.Windows.Controls.MenuItem)(target)); #line 205 "..\..\..\GUI\MainWindow.xaml" this.optionsMenu.Click += new System.Windows.RoutedEventHandler(this.optionsMenu_Click); #line default #line hidden return; case 16: this.helpMenu = ((System.Windows.Controls.MenuItem)(target)); return; case 17: this.aboutMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 212 "..\..\..\GUI\MainWindow.xaml" this.aboutMenuItem.Click += new System.Windows.RoutedEventHandler(this.aboutMenuItem_Click); #line default #line hidden return; case 18: this.downloadProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 19: this.downloadProgressText = ((System.Windows.Controls.TextBlock)(target)); return; case 20: this.startDownloadingButton = ((System.Windows.Controls.Button)(target)); #line 279 "..\..\..\GUI\MainWindow.xaml" this.startDownloadingButton.Click += new System.Windows.RoutedEventHandler(this.DownloadButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((YoutubeDownloadHelper.Gui.MainWindow)(target)); #line 9 "..\..\..\GUI\MainWindow.xaml" this.mainWindow.Closed += new System.EventHandler(this.mainWindow_Closed); #line default #line hidden return; case 2: this.mainTabControl = ((System.Windows.Controls.TabControl)(target)); return; case 3: this.queueTab = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.queueGrid = ((System.Windows.Controls.Grid)(target)); return; case 5: this.queueListView = ((System.Windows.Controls.ListView)(target)); #line 52 "..\..\..\GUI\MainWindow.xaml" this.queueListView.KeyUp += new System.Windows.Input.KeyEventHandler(this.queueListView_KeyUp); #line default #line hidden return; case 6: this.addUrlButton = ((System.Windows.Controls.Button)(target)); #line 131 "..\..\..\GUI\MainWindow.xaml" this.addUrlButton.Click += new System.Windows.RoutedEventHandler(this.UrlButton_Click); #line default #line hidden return; case 7: this.modifyUrlButton = ((System.Windows.Controls.Button)(target)); #line 140 "..\..\..\GUI\MainWindow.xaml" this.modifyUrlButton.Click += new System.Windows.RoutedEventHandler(this.UrlButton_Click); #line default #line hidden return; case 8: this.moveQueuedItemDown = ((System.Windows.Controls.Button)(target)); #line 166 "..\..\..\GUI\MainWindow.xaml" this.moveQueuedItemDown.Click += new System.Windows.RoutedEventHandler(this.moveQueuedItem_Click); #line default #line hidden return; case 9: this.downArrowGrid = ((System.Windows.Controls.Grid)(target)); return; case 10: this.downArrowImage = ((System.Windows.Controls.Image)(target)); return; case 11: this.moveQueuedItemUp = ((System.Windows.Controls.Button)(target)); #line 198 "..\..\..\GUI\MainWindow.xaml" this.moveQueuedItemUp.Click += new System.Windows.RoutedEventHandler(this.moveQueuedItem_Click); #line default #line hidden return; case 12: this.upArrowGrid = ((System.Windows.Controls.Grid)(target)); return; case 13: this.upArrowImage = ((System.Windows.Controls.Image)(target)); return; case 14: this.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 15: this.optionsMenu = ((System.Windows.Controls.MenuItem)(target)); #line 250 "..\..\..\GUI\MainWindow.xaml" this.optionsMenu.Click += new System.Windows.RoutedEventHandler(this.optionsMenu_Click); #line default #line hidden return; case 16: this.helpMenu = ((System.Windows.Controls.MenuItem)(target)); return; case 17: this.aboutMenuItem = ((System.Windows.Controls.MenuItem)(target)); #line 257 "..\..\..\GUI\MainWindow.xaml" this.aboutMenuItem.Click += new System.Windows.RoutedEventHandler(this.aboutMenuItem_Click); #line default #line hidden return; case 18: this.downloadProgressBarGrid = ((System.Windows.Controls.Grid)(target)); return; case 19: this.downloadProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 20: this.downloadProgressText = ((System.Windows.Controls.TextBlock)(target)); return; case 21: this.startDownloadingButton = ((System.Windows.Controls.Button)(target)); #line 333 "..\..\..\GUI\MainWindow.xaml" this.startDownloadingButton.Click += new System.Windows.RoutedEventHandler(this.DownloadButton_Click); #line default #line hidden return; } this._contentLoaded = true; }