void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Napier_Holiday_Booking = ((Presentation.MainWindow)(target)); return; case 2: this.btnSignIn = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\MainWindow.xaml" this.btnSignIn.Click += new System.Windows.RoutedEventHandler(this.btnSignIn_Click); #line default #line hidden return; case 3: this.txbCustRefNo = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.btnNewCust = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\MainWindow.xaml" this.btnNewCust.Click += new System.Windows.RoutedEventHandler(this.btnNewCust_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.frmMain = ((Presentation.MainWindow)(target)); return; case 2: this.GridMain = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GridMenu = ((System.Windows.Controls.Grid)(target)); return; case 4: this.gridContent = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Main_Window = ((Presentation.MainWindow)(target)); return; case 2: this.tb_Fname = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.lb_Fname = ((System.Windows.Controls.Label)(target)); return; case 4: this.tb_Sname = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.lb_Sname = ((System.Windows.Controls.Label)(target)); return; case 6: this.tb_CwMark = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.lb_CwMark = ((System.Windows.Controls.Label)(target)); return; case 8: this.tb_ExamMark = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.lb_ExamMark = ((System.Windows.Controls.Label)(target)); return; case 10: this.lb_Dob = ((System.Windows.Controls.Label)(target)); return; case 11: this.tb_MatricNo = ((System.Windows.Controls.TextBox)(target)); return; case 12: this.lb_MatricNo = ((System.Windows.Controls.Label)(target)); return; case 13: this.bt_Add = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\..\MainWindow.xaml" this.bt_Add.Click += new System.Windows.RoutedEventHandler(this.bt_Add_Click); #line default #line hidden return; case 14: this.bt_Find = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\..\MainWindow.xaml" this.bt_Find.Click += new System.Windows.RoutedEventHandler(this.bt_Find_Click); #line default #line hidden return; case 15: this.bt_Delete = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\MainWindow.xaml" this.bt_Delete.Click += new System.Windows.RoutedEventHandler(this.bt_Delete_Click); #line default #line hidden return; case 16: this.lbox_StudentRecord = ((System.Windows.Controls.ListBox)(target)); #line 24 "..\..\..\MainWindow.xaml" this.lbox_StudentRecord.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.lbox_StudentRecord_MouseDoubleClick); #line default #line hidden return; case 17: this.dp_Dob = ((System.Windows.Controls.DatePicker)(target)); return; case 18: this.bt_ShowAll = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.bt_ShowAll.Click += new System.Windows.RoutedEventHandler(this.bt_ShowAll_Click); #line default #line hidden return; case 19: this.lb_Matric_List_box = ((System.Windows.Controls.Label)(target)); return; case 20: this.lb_Find_Delete = ((System.Windows.Controls.Label)(target)); return; case 21: this.lb_Matric_Display = ((System.Windows.Controls.Label)(target)); return; case 22: this.bt_Clear = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\..\MainWindow.xaml" this.bt_Clear.Click += new System.Windows.RoutedEventHandler(this.bt_Clear_Click); #line default #line hidden return; case 23: this.lb_MatricNo_find_delete = ((System.Windows.Controls.Label)(target)); return; case 24: this.lb_Add_new_student = ((System.Windows.Controls.Label)(target)); return; case 25: this.lb_Double_click_instructions = ((System.Windows.Controls.Label)(target)); return; case 26: this.lb_Find_Delete_instructions = ((System.Windows.Controls.Label)(target)); return; case 27: this.lb_Display_Found_deatils = ((System.Windows.Controls.Label)(target)); return; case 28: this.lb_Found_heading = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }