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

            case 2:
                this.txtMaxSumma = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 3:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\View\AddGroupCreditWorthinesView.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\View\AddGroupCreditWorthinesView.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_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.cmbGroup = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.cmbRevenue = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.cmbSex = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.txtAgeMin = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 5:
                this.txtAgeMax = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 6:
                this.cmbCountChildren = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.cmbMarried = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\View\AddGroupCharacterView.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\View\AddGroupCharacterView.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_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.txtFio = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.cmbSex = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.txtAge = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 4:
                this.txtChildren = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 5:
                this.cmbMarried = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.txtRevenueYear = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 7:
                this.txtMaxSumma = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtGroup = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.txtMonth = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 10:
                this.txtRevenueMonth = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 12:
                this.txtMaxSummaEconomic = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.CalculationButton = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\View\CreateCredit.xaml"
                this.CalculationButton.Click += new System.Windows.RoutedEventHandler(this.CalculationButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.txtSummaCredit = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 15:
                this.txtMonthCredit = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 16:
                this.txtSummaMonth = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtTabNumber = ((System.Windows.Controls.TextBox)(target));

            #line 37 "..\..\..\View\AddWorkerView.xaml"
                this.txtTabNumber.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtShortName_OnTextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.txtFio = ((System.Windows.Controls.TextBox)(target));

            #line 40 "..\..\..\View\AddWorkerView.xaml"
                this.txtFio.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtShortName_OnTextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.txtPhone = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 4:
                this.txtNamePc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtIpAddress = ((Microsoft.Windows.Controls.MaskedTextBox)(target));
                return;

            case 6:
                this.cmbDepartment = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\..\View\AddWorkerView.xaml"
                this.cmbDepartment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbDepartment_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\..\View\AddWorkerView.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\View\AddWorkerView.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

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