void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PControl = ((IMS.PersonControl)(target)); return; case 2: this.SaveButton = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\..\..\..\..\Classes\Management\PopupWindows\ManagersManagementWindow.xaml" this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click); #line default #line hidden return; case 3: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\..\..\..\Classes\Management\PopupWindows\ManagersManagementWindow.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.PControl = ((IMS.PersonControl)(target)); return; case 2: this.TT = ((System.Windows.Controls.TabControl)(target)); return; case 3: this.SubjectsItem = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.AddSubjectButton = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.AddSubjectButton.Click += new System.Windows.RoutedEventHandler(this.AddSubjectButton_Click); #line default #line hidden return; case 5: this.DeleteSubjectButton = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.DeleteSubjectButton.Click += new System.Windows.RoutedEventHandler(this.DeleteSubjectButton_Click); #line default #line hidden return; case 6: this.ClearSubjectButton = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.ClearSubjectButton.Click += new System.Windows.RoutedEventHandler(this.ClearSubjectButton_Click); #line default #line hidden return; case 7: this.SBDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.DepartmentsItem = ((System.Windows.Controls.TabItem)(target)); return; case 9: this.AddDepartmentButton = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.AddDepartmentButton.Click += new System.Windows.RoutedEventHandler(this.AddDepartmentButton_Click); #line default #line hidden return; case 10: this.DeleteDepartmentButton = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.DeleteDepartmentButton.Click += new System.Windows.RoutedEventHandler(this.DeleteDepartmentButton_Click); #line default #line hidden return; case 11: this.ClearDepartmentsButton = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.ClearDepartmentsButton.Click += new System.Windows.RoutedEventHandler(this.ClearDepartmentsButton_Click); #line default #line hidden return; case 12: this.DPDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 13: this.SaveButton = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.xaml" this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click); #line default #line hidden return; case 14: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\..\..\..\..\Classes\Management\PopupWindows\TeachersManagementWindow.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.PControl = ((IMS.PersonControl)(target)); return; case 2: this.DateInLabel = ((System.Windows.Controls.Label)(target)); return; case 3: this.DateOutLabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.GroupLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.DateInPicker = ((System.Windows.Controls.DatePicker)(target)); #line 43 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.DateInPicker.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.DateInPicker_SelectedDateChanged); #line default #line hidden return; case 6: this.DateOutPicker = ((System.Windows.Controls.DatePicker)(target)); #line 44 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.DateOutPicker.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.DateOutPicker_SelectedDateChanged); #line default #line hidden return; case 7: this.GroupTextBox = ((System.Windows.Controls.TextBox)(target)); #line 50 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.GroupTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GroupTextBox_TextChanged); #line default #line hidden return; case 8: this.GroupPicker = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.GroupPicker.Click += new System.Windows.RoutedEventHandler(this.GroupPicker_Click); #line default #line hidden return; case 9: this.DateInHelpLabel = ((System.Windows.Controls.Label)(target)); return; case 10: this.DateOutHelpLabel = ((System.Windows.Controls.Label)(target)); return; case 11: this.GroupHelpLabel = ((System.Windows.Controls.Label)(target)); return; case 12: this.SaveButton = ((System.Windows.Controls.Button)(target)); #line 70 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click); #line default #line hidden return; case 13: this.CancelButton = ((System.Windows.Controls.Button)(target)); #line 71 "..\..\..\..\..\..\Classes\Management\PopupWindows\StudentsManagementWindow.xaml" this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click); #line default #line hidden return; } this._contentLoaded = true; }