Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdGroup = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.wpGroup = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 3:
                this.spHeading = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 4:
                this.lblHeading = ((FusilControlLib.CustomLabel)(target));
                return;

            case 5:
                this.spName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 6:
                this.lblName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 7:
                this.tbName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 8:
                this.spGroup = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 9:
                this.lblGroup = ((FusilControlLib.CustomLabel)(target));
                return;

            case 10:
                this.comboGroup = ((FusilControlLib.CustomComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdAccountsUC = ((FusilControlLib.CustomGrid)(target));
                return;

            case 2:
                this.gbHeader = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 3:
                this.wpHeader = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 4:
                this.spSno = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 5:
                this.lblSno = ((FusilControlLib.CustomLabel)(target));
                return;

            case 6:
                this.tbSno = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 7:
                this.spName = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 8:
                this.lblName = ((FusilControlLib.CustomLabel)(target));
                return;

            case 9:
                this.tbName = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 10:
                this.spTaxClass = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 11:
                this.lblTaxClass = ((FusilControlLib.CustomLabel)(target));
                return;

            case 12:
                this.comboTaxClass = ((FusilControlLib.CustomComboBox)(target));
                return;

            case 13:
                this.spCode = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 14:
                this.lblCode = ((FusilControlLib.CustomLabel)(target));
                return;

            case 15:
                this.tbCode = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 16:
                this.spDesc = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 17:
                this.lblDesc = ((FusilControlLib.CustomLabel)(target));
                return;

            case 18:
                this.tbDesc = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 19:
                this.gdAccountsBodyUC = ((FusilControlLib.CustomGrid)(target));
                return;

            case 20:
                this.gbBody = ((FusilControlLib.CustomGroupBox)(target));
                return;

            case 21:
                this.wpBody = ((FusilControlLib.CustomWrapPanel)(target));
                return;

            case 22:
                this.dgBody = ((FusilControlLib.CustomDataGrid)(target));
                return;

            case 23:
                this.dgColumnTaxClass = ((System.Windows.Controls.DataGridComboBoxColumn)(target));
                return;

            case 24:
                this.dgColumnTaxRate = ((FusilControlLib.CustomDataGridTextColumns)(target));
                return;

            case 25:
                this.dgNarration = ((FusilControlLib.CustomDataGridTextColumns)(target));
                return;
            }
            this._contentLoaded = true;
        }