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

            case 2:
                this.Configuration = ((PointOfSale.ConfigurationManager)(target));
                return;

            case 3:
                this.categoryMaintenanceControl = ((PointOfSale.CategoryMaintenanceControl)(target));
                return;

            case 4:
                this.ingredientMaintenanceControl = ((PointOfSale.IngredientMaintenanceControl)(target));
                return;

            case 5:
                this.itemMaintenanceControl = ((PointOfSale.ItemMaintenanceControl)(target));
                return;

            case 6:
                this.itemOptionMaintenanceControl = ((PointOfSale.ItemOptionSetMaintenanceControl)(target));
                return;

            case 7:
                this.buttonCategory = ((PointOfSale.PushButton)(target));
                return;

            case 8:
                this.buttonIngredient = ((PointOfSale.PushButton)(target));
                return;

            case 9:
                this.buttonItems = ((PointOfSale.PushButton)(target));
                return;

            case 10:
                this.buttonItemOptions = ((PointOfSale.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PointOfSale.ConfigurationManager)(target));
                return;

            case 3:
                this.categoryMaintenanceControl = ((PointOfSale.CategoryMaintenanceControl)(target));
                return;

            case 4:
                this.ingredientMaintenanceControl = ((PointOfSale.IngredientMaintenanceControl)(target));
                return;

            case 5:
                this.itemMaintenanceControl = ((PointOfSale.ItemMaintenanceControl)(target));
                return;

            case 6:
                this.itemOptionMaintenanceControl = ((PointOfSale.ItemOptionSetMaintenanceControl)(target));
                return;

            case 7:
                this.couponMaintenanceControl = ((PointOfSale.CouponMaintenanceControl)(target));
                return;

            case 8:
                this.discountMaintenanceControl = ((PointOfSale.DiscountMaintenanceControl)(target));
                return;

            case 9:
                this.deliveryMaintenanceControl = ((PointOfSale.DeliveryMaintenanceControl)(target));
                return;

            case 10:
                this.seatingMaintenanceControl = ((PointOfSale.SeatingMaintenanceControl)(target));
                return;

            case 11:
                this.taxMaintenanceControl = ((PointOfSale.TaxMaintenanceControl)(target));
                return;

            case 12:
                this.deviceSelectionControl = ((PointOfSale.DeviceSelectionControl)(target));
                return;

            case 13:
                this.storeSettingsMaintenanceControl = ((PointOfSale.StoreSettingMaintenanceControl)(target));
                return;

            case 14:
                this.buttonCategory = ((PointOfSale.PushButton)(target));
                return;

            case 15:
                this.buttonIngredient = ((PointOfSale.PushButton)(target));
                return;

            case 16:
                this.buttonItems = ((PointOfSale.PushButton)(target));
                return;

            case 17:
                this.buttonItemOptions = ((PointOfSale.PushButton)(target));
                return;

            case 18:
                this.buttonCoupon = ((PointOfSale.PushButton)(target));
                return;

            case 19:
                this.buttonDiscounts = ((PointOfSale.PushButton)(target));
                return;

            case 20:
                this.buttonDelivery = ((PointOfSale.PushButton)(target));
                return;

            case 21:
                this.buttonSeating = ((PointOfSale.PushButton)(target));
                return;

            case 22:
                this.buttonTaxes = ((PointOfSale.PushButton)(target));
                return;

            case 23:
                this.buttonDeviceManager = ((PointOfSale.PushButton)(target));
                return;

            case 24:
                this.buttonSettings = ((PointOfSale.PushButton)(target));
                return;
            }
            this._contentLoaded = true;
        }