void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ProfileWindow = ((WpfRegister.Profile)(target)); return; case 2: this.Name = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.Surname = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.Email = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.ProfilePhoto = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.BornDate = ((System.Windows.Controls.DatePicker)(target)); return; case 7: this.Country = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 80 "..\..\Profile.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 9: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 10: #line 82 "..\..\Profile.xaml" ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click); #line default #line hidden return; } this._contentLoaded = true; }