void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((YoutubeDownloadHelper.MainWindow)(target)); #line 11 "..\..\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.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 5: this.optionsMenu = ((System.Windows.Controls.MenuItem)(target)); #line 40 "..\..\MainWindow.xaml" this.optionsMenu.Click += new System.Windows.RoutedEventHandler(this.optionsMenu_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.MainWindow)(target)); #line 11 "..\..\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.mainMenu = ((System.Windows.Controls.Menu)(target)); return; case 5: this.optionsMenu = ((System.Windows.Controls.MenuItem)(target)); #line 40 "..\..\MainWindow.xaml" this.optionsMenu.Click += new System.Windows.RoutedEventHandler(this.optionsMenu_Click); #line default #line hidden return; } this._contentLoaded = true; }