コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.techdashboardwindow = ((TechDashboard.WPF.SettingsPage)(target));
                return;

            case 2:
                this.labelHeading = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.cbxIsUsingHttps = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.textURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textUserID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.labelDaysBefore = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.textDaysBefore = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\SettingsPage.xaml"
                this.textDaysBefore.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 10:
                this.labelDaysAfter = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 25 "..\..\SettingsPage.xaml"
                this.textDaysAfter.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 12:
                this.labelHttpText = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 27 "..\..\SettingsPage.xaml"
                this.textRESTURL.LostFocus += new System.Windows.RoutedEventHandler(this.textRESTURL_LostFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.labelDaysAfter_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.labelDaysAfter_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.textUserID_Copy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.textUserID_Copy1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.lblVersion = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.labelDeviceName = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.textDeviceName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.btnSaveAppSettings = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.btnCancelAppSettings = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.techdashboardwindow = ((TechDashboard.WPF.SettingsPage)(target));
                return;

            case 2:
                this.labelHeading = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.cbxIsUsingHttps = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.textURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.textUserID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.labelDaysBefore = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.textDaysBefore = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.labelDaysAfter = ((System.Windows.Controls.Label)(target));
                return;

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

            case 12:
                this.btnSaveAppSettings = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.labelHttpText = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.textRESTURL = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.labelDaysAfter_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.labelDaysAfter_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.textUserID_Copy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.textUserID_Copy1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.lblVersion = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.labelDeviceName = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.textDeviceName = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }