void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.productlist = ((wpfProductApp.View.ProductList)(target)); return; case 2: this.label = ((System.Windows.Controls.Label)(target)); return; case 3: this.listView = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }
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; }