示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DownloadInstallPermissionArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.DownloadInstallToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

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

            case 4:
                this.UpdateNotificationControl = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 5:
                this.CheckUpdates = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\..\AppPages\ManageUpdates.xaml"
                this.CheckUpdates.Click += new System.Windows.RoutedEventHandler(this.CheckUpdates_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ParentalcontrolArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.ParentalControlToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

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

            case 4:
                this.ProductivityControlToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 5:
                this.MaliciousWebProtectionArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.MaliciousWebControlToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 7:
                this.BlockWebReportingArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.BlockWebReportingControlToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 9:
                this.APPLY = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\..\AppPages\BlockWebsites.xaml"
                this.APPLY.Click += new System.Windows.RoutedEventHandler(this.APPLY_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ExportAllSettingsArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.ParentalControlToggle = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

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

            case 4:
                this.SettingManageUpdateArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.SettingManageUpdateScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 6:
                this.SettingBlockWebArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.SettingBlockWebScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

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

            case 9:
                this.ManuallyAllowScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 10:
                this.ManuallyDisAllowArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.ManuallyDisAllowScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 12:
                this.ThemeSettingArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.ThemeSettingScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 14:
                this.BackgroundSettingArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.BackgroundSettingScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 16:
                this.ColorSettingArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.ColorSettingScreen = ((MalwareSecurity.AppPages.ToggleButton)(target));
                return;

            case 18:
                this.ExportConfig = ((System.Windows.Controls.Button)(target));

            #line 224 "..\..\..\AppPages\ExportSettings.xaml"
                this.ExportConfig.Click += new System.Windows.RoutedEventHandler(this.ExportConfig_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }