void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._passwordTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this._watermarkPasswordBox = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); #line 141 "..\..\..\..\..\..\Samples\Text\Views\WatermarkPasswordBoxView.xaml" this._watermarkPasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.WatermarkPasswordBox_PasswordChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.userNameLabel = ((System.Windows.Controls.Label)(target)); return; case 2: this.UserNameText = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 3: this.passwordLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.PasswordText = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 5: this.LogInButton = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.LogInButton.Click += new System.Windows.RoutedEventHandler(this.ClickLogInButton); #line default #line hidden return; case 6: this.RoleComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.ErrorLebal = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tab = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.tab_register = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.register_name = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 4: this.register_surname = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 5: this.register_email = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 6: this.register_password = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 7: this.register_phone = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 8: this.register_role_student = ((System.Windows.Controls.RadioButton)(target)); return; case 9: this.register_role_teacher = ((System.Windows.Controls.RadioButton)(target)); return; case 10: this.register_btn = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\MainWindow.xaml" this.register_btn.Click += new System.Windows.RoutedEventHandler(this.Register); #line default #line hidden return; case 11: this.register_department = ((Xceed.Wpf.Toolkit.WatermarkComboBox)(target)); return; case 12: this.tab_login = ((System.Windows.Controls.TabItem)(target)); return; case 13: this.login_email = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 14: this.login_password = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 15: this.login_btn = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\MainWindow.xaml" this.login_btn.Click += new System.Windows.RoutedEventHandler(this.Login); #line default #line hidden return; case 16: this.tab_admin = ((System.Windows.Controls.TabItem)(target)); return; case 17: this.admin_update_role = ((Xceed.Wpf.Toolkit.WatermarkComboBox)(target)); return; case 18: this.admin_update_btn = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\MainWindow.xaml" this.admin_update_btn.Click += new System.Windows.RoutedEventHandler(this.Admin_password_update_btn_Click); #line default #line hidden return; case 19: this.admin_greeting = ((System.Windows.Controls.Label)(target)); return; case 20: this.admin_registered_users = ((System.Windows.Controls.DataGrid)(target)); return; case 21: this.admin_update_password = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 22: this.admin_teacher_awaiting = ((System.Windows.Controls.DataGrid)(target)); return; case 23: this.admin_teacher_approve = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\MainWindow.xaml" this.admin_teacher_approve.Click += new System.Windows.RoutedEventHandler(this.Admin_teacher_approve_Click); #line default #line hidden return; case 24: this.admin_lessons_awaiting = ((System.Windows.Controls.DataGrid)(target)); return; case 25: this.admin_lesson_approve = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\MainWindow.xaml" this.admin_lesson_approve.Click += new System.Windows.RoutedEventHandler(this.Admin_lesson_approve_Click); #line default #line hidden return; case 26: this.admin_department_delete = ((System.Windows.Controls.RadioButton)(target)); return; case 27: this.admin_department_update = ((System.Windows.Controls.RadioButton)(target)); return; case 28: this.admin_department_create = ((System.Windows.Controls.RadioButton)(target)); return; case 29: this.admin_department_apply = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\MainWindow.xaml" this.admin_department_apply.Click += new System.Windows.RoutedEventHandler(this.Admin_department_apply_Click); #line default #line hidden return; case 30: this.admin_department_combobox = ((Xceed.Wpf.Toolkit.WatermarkComboBox)(target)); #line 74 "..\..\MainWindow.xaml" this.admin_department_combobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Admin_department_combobox_SelectionChanged); #line default #line hidden return; case 31: this.admin_department_name = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 32: this.admin_lesson_list = ((System.Windows.Controls.DataGrid)(target)); #line 78 "..\..\MainWindow.xaml" this.admin_lesson_list.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.admin_lesson_list_SelectionChanged); #line default #line hidden return; case 33: this.admin_lesson_deny = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.admin_lesson_deny.Click += new System.Windows.RoutedEventHandler(this.Admin_lesson_deny_Click); #line default #line hidden return; case 34: this.admin_lesson_name_new = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 35: this.admin_class_name_update = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\MainWindow.xaml" this.admin_class_name_update.Click += new System.Windows.RoutedEventHandler(this.Admin_class_name_update_Click); #line default #line hidden return; case 36: this.admin_teacher_deny = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\MainWindow.xaml" this.admin_teacher_deny.Click += new System.Windows.RoutedEventHandler(this.Admin_teacher_deny_Click); #line default #line hidden return; case 37: #line 84 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.goto_member); #line default #line hidden return; case 38: #line 85 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.logout); #line default #line hidden return; case 39: this.admin_role_update_btn = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\MainWindow.xaml" this.admin_role_update_btn.Click += new System.Windows.RoutedEventHandler(this.Admin_role_update_btn_Click); #line default #line hidden return; case 40: this.tab_teacher = ((System.Windows.Controls.TabItem)(target)); return; case 41: this.teacher_greeting = ((System.Windows.Controls.Label)(target)); return; case 42: this.teacher_students_awaiting = ((System.Windows.Controls.DataGrid)(target)); return; case 43: this.teacher_class_request_name = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 44: this.teacher_class_request_btn = ((System.Windows.Controls.Button)(target)); #line 108 "..\..\MainWindow.xaml" this.teacher_class_request_btn.Click += new System.Windows.RoutedEventHandler(this.Teacher_class_request_btn_Click); #line default #line hidden return; case 45: this.teacher_lessons_pending = ((System.Windows.Controls.DataGrid)(target)); return; case 46: this.teacher_students_list = ((System.Windows.Controls.DataGrid)(target)); #line 111 "..\..\MainWindow.xaml" this.teacher_students_list.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.teacher_select_note); #line default #line hidden return; case 47: this.teacher_midterm = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 48: this.teacher_final = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 49: this.teacher_update = ((System.Windows.Controls.Button)(target)); #line 115 "..\..\MainWindow.xaml" this.teacher_update.Click += new System.Windows.RoutedEventHandler(this.Teacher_update_Click); #line default #line hidden return; case 50: this.teacher_student_approve = ((System.Windows.Controls.Button)(target)); #line 118 "..\..\MainWindow.xaml" this.teacher_student_approve.Click += new System.Windows.RoutedEventHandler(this.Teacher_student_approve_Click); #line default #line hidden return; case 51: this.teacher_lessons_approved = ((System.Windows.Controls.DataGrid)(target)); return; case 52: this.teacher_deny = ((System.Windows.Controls.Button)(target)); #line 121 "..\..\MainWindow.xaml" this.teacher_deny.Click += new System.Windows.RoutedEventHandler(this.Teacher_deny_Click); #line default #line hidden return; case 53: #line 122 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.goto_member); #line default #line hidden return; case 54: #line 123 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.logout); #line default #line hidden return; case 55: this.teacher_pending_delete = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\MainWindow.xaml" this.teacher_pending_delete.Click += new System.Windows.RoutedEventHandler(this.Teacher_pending_delete_Click); #line default #line hidden return; case 56: this.tab_student = ((System.Windows.Controls.TabItem)(target)); return; case 57: this.student_greeting = ((System.Windows.Controls.Label)(target)); return; case 58: this.student_lessons_registered = ((System.Windows.Controls.DataGrid)(target)); return; case 59: this.student_lessons_available = ((System.Windows.Controls.DataGrid)(target)); return; case 60: this.student_yearly_average = ((System.Windows.Controls.Label)(target)); return; case 61: this.student_general_average = ((System.Windows.Controls.Label)(target)); return; case 62: this.student_lessons_apply = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\MainWindow.xaml" this.student_lessons_apply.Click += new System.Windows.RoutedEventHandler(this.Student_lessons_apply_Click); #line default #line hidden return; case 63: #line 145 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.goto_member); #line default #line hidden return; case 64: #line 146 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.logout); #line default #line hidden return; case 65: this.student_grade = ((System.Windows.Controls.Label)(target)); return; case 66: this.student_lessons_pending = ((System.Windows.Controls.DataGrid)(target)); return; case 67: this.student_lessons_pending_delete = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\MainWindow.xaml" this.student_lessons_pending_delete.Click += new System.Windows.RoutedEventHandler(this.Student_lessons_pending_delete_Click); #line default #line hidden return; case 68: this.tab_membership = ((System.Windows.Controls.TabItem)(target)); return; case 69: this.member_name = ((System.Windows.Controls.Label)(target)); return; case 70: this.member_surname = ((System.Windows.Controls.Label)(target)); return; case 71: this.member_password_new = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 72: #line 163 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.change_Password); #line default #line hidden return; case 73: this.member_email = ((System.Windows.Controls.Label)(target)); return; case 74: this.member_phone = ((System.Windows.Controls.Label)(target)); return; case 75: this.member_department = ((System.Windows.Controls.Label)(target)); return; case 76: this.member_email_new = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 77: #line 171 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.change_Email); #line default #line hidden return; case 78: this.member_role = ((System.Windows.Controls.Label)(target)); return; case 79: #line 175 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.logout); #line default #line hidden return; case 80: #line 176 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.go_back); #line default #line hidden return; case 81: this.member_info = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AdminCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 2: this.AdminCanvasBlur = ((System.Windows.Media.Effects.BlurEffect)(target)); return; case 3: this.TimeMark = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.DateMark = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.BtnBack = ((System.Windows.Controls.Button)(target)); #line 63 "..\..\AdminLoginPage.xaml" this.BtnBack.Click += new System.Windows.RoutedEventHandler(this.BtnBack_Click); #line default #line hidden return; case 6: this.LoginInput = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target)); return; case 7: this.PasswordInput = ((Xceed.Wpf.Toolkit.WatermarkPasswordBox)(target)); return; case 8: this.BtnLogin = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\AdminLoginPage.xaml" this.BtnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click); #line default #line hidden return; case 9: this.MsgBox = ((System.Windows.Controls.Canvas)(target)); return; case 10: this.MsgBoxTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.MsgBoxMessage = ((System.Windows.Controls.TextBlock)(target)); return; case 12: #line 136 "..\..\AdminLoginPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Msgbox_Return); #line default #line hidden return; } this._contentLoaded = true; }