void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow = ((YoutubeDownloadHelper.Window1)(target));

            #line 11 "..\..\Window1.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 "..\..\Window1.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.Window1)(target));
     
     #line 11 "..\..\Window1.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 "..\..\Window1.xaml"
     this.optionsMenu.Click += new System.Windows.RoutedEventHandler(this.optionsMenu_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }