void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.username = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.OldPassword = ((System.Windows.Controls.PasswordBox)(target)); return; case 3: this.NewPassword = ((PLWPF.myPasswordBox)(target)); return; case 4: this.NewPassword2 = ((System.Windows.Controls.PasswordBox)(target)); return; case 5: #line 46 "..\..\ChangePassword.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserName = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.password = ((PLWPF.myPasswordBox)(target)); return; case 3: #line 45 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 4: this.newAccount = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\MainWindow.xaml" this.newAccount.Click += new System.Windows.RoutedEventHandler(this.Button_Click_CreateNewTraineeUser); #line default #line hidden return; case 5: this.errorMessage = ((System.Windows.Controls.Label)(target)); return; case 6: this.resetPassword = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\MainWindow.xaml" this.resetPassword.Click += new System.Windows.RoutedEventHandler(this.resetPassword_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.types = ((System.Windows.Controls.Grid)(target)); return; case 2: this.adminRadio = ((System.Windows.Controls.RadioButton)(target)); #line 31 "..\..\AddUser.xaml" this.adminRadio.Checked += new System.Windows.RoutedEventHandler(this.AdminRadio_Checked); #line default #line hidden return; case 3: this.traineeRadio = ((System.Windows.Controls.RadioButton)(target)); #line 32 "..\..\AddUser.xaml" this.traineeRadio.Checked += new System.Windows.RoutedEventHandler(this.TraineeRadio_Checked); #line default #line hidden return; case 4: this.testerRadion = ((System.Windows.Controls.RadioButton)(target)); #line 33 "..\..\AddUser.xaml" this.testerRadion.Checked += new System.Windows.RoutedEventHandler(this.TesterRadion_Checked); #line default #line hidden return; case 5: this.teacherRadion = ((System.Windows.Controls.RadioButton)(target)); #line 34 "..\..\AddUser.xaml" this.teacherRadion.Checked += new System.Windows.RoutedEventHandler(this.TeacherRadion_Checked); #line default #line hidden return; case 6: this.SchoolRadion = ((System.Windows.Controls.RadioButton)(target)); #line 35 "..\..\AddUser.xaml" this.SchoolRadion.Checked += new System.Windows.RoutedEventHandler(this.SchoolRadion_Checked); #line default #line hidden return; case 7: this.Username = ((System.Windows.Controls.TextBox)(target)); #line 38 "..\..\AddUser.xaml" this.Username.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Username_TextChanged); #line default #line hidden return; case 8: this.password = ((PLWPF.myPasswordBox)(target)); return; case 9: this.email = ((System.Windows.Controls.TextBox)(target)); #line 42 "..\..\AddUser.xaml" this.email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.email_TextChanged); #line default #line hidden return; case 10: this.chooseType = ((System.Windows.Controls.Label)(target)); return; case 11: this.items = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.createButton = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\AddUser.xaml" this.createButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 13: this.message = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.buttons = ((System.Windows.Controls.Grid)(target)); return; case 2: #line 21 "..\..\CreatNewTraineeUser.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: #line 22 "..\..\CreatNewTraineeUser.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 4: this.createTrainee = ((System.Windows.Controls.Grid)(target)); return; case 5: this.addTraineeUsercontol = ((PLWPF.AddTrainee)(target)); return; case 6: this.create1 = ((System.Windows.Controls.Grid)(target)); return; case 7: this.inputId = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.inputUsername = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.inputPassword = ((PLWPF.myPasswordBox)(target)); return; case 10: this.mail = ((System.Windows.Controls.TextBox)(target)); #line 52 "..\..\CreatNewTraineeUser.xaml" this.mail.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.mail_TextChanged); #line default #line hidden return; case 11: this.messageError = ((System.Windows.Controls.Label)(target)); return; case 12: this.createUser = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\CreatNewTraineeUser.xaml" this.createUser.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }