Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.setproduct = ((wpfProductApp.View.SetProduct)(target));
         return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
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;
        }