void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ucCustomerView1 = ((AmitCustomerWPF.View.ucCustomerView)(target)); return; case 2: this.txtFirstname = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.txtLastname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txtAge = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtCopyAge = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.txtIsOld = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }