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

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

            case 3:
                this.AddCategoryPrice = ((MyPopuStore.UI.Resource.User_Control.CategoryPriceControl)(target));
                return;

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

            #line 94 "..\..\..\..\..\..\UI\Pages\CategoryPriceManagerPage\CategoryPriceManager.xaml"
                this.Cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddProductPart = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 2:
                this.UICatPrice = ((MyPopuStore.UI.Resource.User_Control.CategoryPriceControl)(target));
                return;

            case 3:
                this.UICode = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.UIPicture = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\..\..\..\UI\Pages\Product_Page\ProductPage.xaml"
                this.UIPicture.Click += new System.Windows.RoutedEventHandler(this.SearchPicture_Click);

            #line default
            #line hidden
                return;

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

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

            #line 101 "..\..\..\..\..\..\UI\Pages\Product_Page\ProductPage.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddProductButton);

            #line default
            #line hidden
                return;

            case 8:
                this.ListProductPart = ((System.Windows.Controls.GroupBox)(target));
                return;
            }
            this._contentLoaded = true;
        }