void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dpDate = ((System.Windows.Controls.DatePicker)(target)); return; case 2: this.listSubject = ((Grades.WPF.SubjectList)(target)); return; case 3: this.txtAssessment = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.txtComments = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.OKButton = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\..\..\Controls\AddGradeDialog.xaml" this.OKButton.Click += new System.Windows.RoutedEventHandler(this.OKButton_Click); #line default #line hidden return; case 6: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\..\..\Controls\AddGradeDialog.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnBack = ((Grades.WPF.GrungeButton)(target)); return; case 2: this.listChild = ((System.Windows.Controls.ItemsControl)(target)); return; case 4: this.studentPhoto = ((Grades.WPF.StudentPhoto)(target)); return; case 5: this.flipControl = ((Grades.WPF.FlipControl)(target)); return; case 6: this.studentDetails = ((System.Windows.Controls.Grid)(target)); return; case 7: #line 79 "..\..\..\..\Views\StudentProfile.xaml" ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Flip_Click); #line default #line hidden return; case 8: this.gridProfile = ((System.Windows.Controls.Grid)(target)); return; case 9: this.profileView = ((System.Windows.Controls.ScrollViewer)(target)); return; case 10: this.separatorVertical = ((System.Windows.Controls.Grid)(target)); return; case 11: this.profileEdit = ((System.Windows.Controls.ScrollViewer)(target)); return; case 12: this.txtNoGrades = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.txtSaveReport = ((System.Windows.Controls.TextBlock)(target)); #line 148 "..\..\..\..\Views\StudentProfile.xaml" this.txtSaveReport.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.SaveReport_Click); #line default #line hidden return; case 14: this.txtAddGrade = ((System.Windows.Controls.TextBlock)(target)); #line 149 "..\..\..\..\Views\StudentProfile.xaml" this.txtAddGrade.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.AddGrade_Click); #line default #line hidden return; case 15: this.formSearch = ((System.Windows.Controls.Grid)(target)); return; case 16: #line 170 "..\..\..\..\Views\StudentProfile.xaml" ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Flip_Click); #line default #line hidden return; case 17: this.txtError = ((System.Windows.Controls.TextBlock)(target)); return; case 18: this.cbFilterSubject = ((System.Windows.Controls.CheckBox)(target)); #line 194 "..\..\..\..\Views\StudentProfile.xaml" this.cbFilterSubject.Checked += new System.Windows.RoutedEventHandler(this.FilterSubject_Checked); #line default #line hidden return; case 19: this.listSubject = ((Grades.WPF.SubjectList)(target)); return; case 20: this.cbFilterDate = ((System.Windows.Controls.CheckBox)(target)); return; case 21: this.dpStartDate = ((System.Windows.Controls.DatePicker)(target)); #line 211 "..\..\..\..\Views\StudentProfile.xaml" this.dpStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.StartDate_SelectedDateChanged); #line default #line hidden return; case 22: this.dpEndDate = ((System.Windows.Controls.DatePicker)(target)); return; } this._contentLoaded = true; }