void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdAccountsBodyUC = ((FusilControlLib.CustomGrid)(target));
                return;

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

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

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

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

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

            case 7:
                this.dgNarration = ((FusilControlLib.CustomDataGridTextColumns)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdRegistration = ((FusilControlLib.CustomGrid)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.tbLastName = ((FusilControlLib.CustomTextBox)(target));
                return;

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

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

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

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

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

            case 18:
                this.datePicker1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 19:
                this.spMobileNo = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 20:
                this.lblMobileNo = ((FusilControlLib.CustomLabel)(target));
                return;

            case 21:
                this.MobileNo = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 22:
                this.spEmail = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 23:
                this.lblEmail = ((FusilControlLib.CustomLabel)(target));
                return;

            case 24:
                this.Email = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 25:
                this.spAddress = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 26:
                this.lblAddress = ((FusilControlLib.CustomLabel)(target));
                return;

            case 27:
                this.Address = ((FusilControlLib.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
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;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gdVehicle = ((FusilControlLib.CustomGrid)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.tbRate = ((FusilControlLib.CustomTextBox)(target));
                return;

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

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

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

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

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

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

            case 19:
                this.spTotal = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 20:
                this.lblTotal = ((FusilControlLib.CustomLabel)(target));
                return;

            case 21:
                this.tbTotal = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 22:
                this.spDisc = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 23:
                this.lblDisc = ((FusilControlLib.CustomLabel)(target));
                return;

            case 24:
                this.tbDisc = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 25:
                this.spDiscRate = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 26:
                this.lblDiscRate = ((FusilControlLib.CustomLabel)(target));
                return;

            case 27:
                this.tbDiscRate = ((FusilControlLib.CustomTextBox)(target));
                return;

            case 28:
                this.spFinal = ((FusilControlLib.CustomStackPanel)(target));
                return;

            case 29:
                this.lblFinal = ((FusilControlLib.CustomLabel)(target));
                return;

            case 30:
                this.tbFinal = ((FusilControlLib.CustomTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }