Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.optionsWindow = ((YoutubeDownloadHelper.Gui.Options)(target));

            #line 5 "..\..\..\GUI\Options.xaml"
                this.optionsWindow.Closed += new System.EventHandler(this.window1_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.schedualGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.schedulerGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.startSchedule = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 5:
                this.schedulerEnabled = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.endSchedule = ((Xceed.Wpf.Toolkit.TimePicker)(target));
                return;

            case 7:
                this.locsGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 8:
                this.locsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.saveLocationsTabControl = ((System.Windows.Controls.TabControl)(target));

            #line 125 "..\..\..\GUI\Options.xaml"
                this.saveLocationsTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.saveLocationsTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.mainTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.mainSaveTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.tempSaveLocation = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.tempSaveTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.validationDirectories = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.validationDirListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 16:
                this.folderSelectButton = ((System.Windows.Controls.Button)(target));

            #line 176 "..\..\..\GUI\Options.xaml"
                this.folderSelectButton.Click += new System.Windows.RoutedEventHandler(this.folderSelectButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.selectFolderGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.folderImage = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.addButton = ((System.Windows.Controls.Button)(target));

            #line 223 "..\..\..\GUI\Options.xaml"
                this.addButton.Click += new System.Windows.RoutedEventHandler(this.folderSelectButton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.removeButton = ((System.Windows.Controls.Button)(target));

            #line 236 "..\..\..\GUI\Options.xaml"
                this.removeButton.Click += new System.Windows.RoutedEventHandler(this.additionalValidationButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.clearButton = ((System.Windows.Controls.Button)(target));

            #line 253 "..\..\..\GUI\Options.xaml"
                this.clearButton.Click += new System.Windows.RoutedEventHandler(this.additionalValidationButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.dNSDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 23:
                this.doNotSaveOnClose = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.continueOnFailCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.resetTagsButton = ((System.Windows.Controls.Button)(target));

            #line 339 "..\..\..\GUI\Options.xaml"
                this.resetTagsButton.Click += new System.Windows.RoutedEventHandler(this.resetTagsButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window1 = ((YoutubeDownloadHelper.Gui.Options)(target));
     
     #line 5 "..\..\..\GUI\Options.xaml"
     this.window1.Closed += new System.EventHandler(this.window1_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.schedualGroupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 3:
     this.schedulerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.startSchedule = ((Xceed.Wpf.Toolkit.TimePicker)(target));
     return;
     case 5:
     this.schedulerEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.endSchedule = ((Xceed.Wpf.Toolkit.TimePicker)(target));
     return;
     case 7:
     this.folderSelectButton = ((System.Windows.Controls.Button)(target));
     
     #line 105 "..\..\..\GUI\Options.xaml"
     this.folderSelectButton.Click += new System.Windows.RoutedEventHandler(this.folderSelectButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.selectFolderGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.folderImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.saveLocationsTabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 11:
     this.mainTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 12:
     this.mainSaveTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.tempSaveLocation = ((System.Windows.Controls.TabItem)(target));
     return;
     case 14:
     this.tempSaveTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.validationDirectories = ((System.Windows.Controls.TabItem)(target));
     return;
     case 16:
     this.validationDirListView = ((System.Windows.Controls.ListView)(target));
     return;
     case 17:
     this.doNotSaveOnClose = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 18:
     this.continueOnFailCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 19:
     this.resetTagsButton = ((System.Windows.Controls.Button)(target));
     
     #line 217 "..\..\..\GUI\Options.xaml"
     this.resetTagsButton.Click += new System.Windows.RoutedEventHandler(this.resetTagsButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }