void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnProductDetail = ((System.Windows.Controls.Button)(target)); return; case 2: this.btnRetakePicture = ((System.Windows.Controls.Button)(target)); return; case 3: this.btnTakeCupon = ((System.Windows.Controls.Button)(target)); return; case 4: this.imgUserLook1 = ((System.Windows.Controls.Image)(target)); return; case 5: this.imgUserLook2 = ((System.Windows.Controls.Image)(target)); return; case 6: this.imgUserLook3 = ((System.Windows.Controls.Image)(target)); return; case 7: this.lblLikeCount = ((System.Windows.Controls.Label)(target)); return; case 8: this.flowObject = ((FlowComponent.FlowControl)(target)); return; } this._contentLoaded = true; }