Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainSet = ((wpfProductApp.View.SetProduct)(target));
                return;

            case 2:
                this.mainTotal = ((wpfProductApp.View.totalPrice)(target));
                return;

            case 3:
                this.mainList = ((wpfProductApp.View.ProductList)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.totalprice = ((wpfProductApp.View.totalPrice)(target));
                return;

            case 2:
                this.txt = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txt2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.txt3 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }