void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.windowRegistration = ((Client.Registration)(target)); #line 3 "..\..\Registration.xaml" this.windowRegistration.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.manRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 4: this.womanRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 5: this.NameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.SurnameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.dateDatePicker = ((System.Windows.Controls.DatePicker)(target)); return; case 8: this.miniGrid = ((System.Windows.Controls.Grid)(target)); return; case 9: this.emailTextBox = ((System.Windows.Controls.TextBox)(target)); #line 57 "..\..\Registration.xaml" this.emailTextBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput); #line default #line hidden return; case 10: this.passwordPasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 11: this.repeatPasswordPasswordBox = ((System.Windows.Controls.PasswordBox)(target)); return; case 12: this.registrationButton = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\Registration.xaml" this.registrationButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }