void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\..\View\RadExamples.xaml" ((Visitors.radCarouse1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.dropdown = ((Telerik.Windows.Controls.RadExpander)(target)); return; case 3: #line 14 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseDoubleClick_1); #line default #line hidden return; case 4: #line 15 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickOnAddVisitor); #line default #line hidden return; case 5: #line 16 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickEditVisitor); #line default #line hidden return; case 6: #line 17 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickViewVisitor); #line default #line hidden return; case 7: #line 18 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickDeleteVisitor); #line default #line hidden return; case 8: #line 19 "..\..\..\View\RadExamples.xaml" ((System.Windows.Controls.ListBoxItem)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mouseDoubleClickLogOut); #line default #line hidden return; case 9: this.editvisitorUserControl1 = ((Visitors.View.EditRoleUserControl)(target)); return; case 10: this.viewVisitorUserCtrl1 = ((Visitors.View.ViewVisitorDetails)(target)); return; case 11: this.deleteVisitorCtrl1 = ((Visitors.View.DeleteVisitorUserControl)(target)); return; case 12: this.addvisitorUserControl1 = ((Visitors.View.InsertUsrCtrl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\View\MainMenu.xaml" ((Visitors.View.MainMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainMenu_load); #line default #line hidden return; case 2: this.EditUserMasterCtrl = ((System.Windows.Controls.Grid)(target)); return; case 3: this.load = ((System.Windows.Controls.Grid)(target)); return; case 4: this.homeBtn = ((System.Windows.Controls.Button)(target)); return; case 5: this.homebtn = ((System.Windows.Controls.Button)(target)); return; case 6: this.AddUserBtn = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\..\View\MainMenu.xaml" this.AddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtn_Click); #line default #line hidden return; case 7: this.EditUserBtn = ((System.Windows.Controls.Button)(target)); #line 44 "..\..\..\View\MainMenu.xaml" this.EditUserBtn.Click += new System.Windows.RoutedEventHandler(this.EditUserBtn_Click); #line default #line hidden return; case 8: this.ViewUserBtn = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\..\View\MainMenu.xaml" this.ViewUserBtn.Click += new System.Windows.RoutedEventHandler(this.ViewUserBtn_Click); #line default #line hidden return; case 9: this.LogOutBtn = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\..\View\MainMenu.xaml" this.LogOutBtn.Click += new System.Windows.RoutedEventHandler(this.LogOutBtn_Click_1); #line default #line hidden return; case 10: this.insertUsrCtrl1 = ((Visitors.View.InsertUsrCtrl)(target)); return; case 11: this.editroleCtrl1 = ((Visitors.View.EditRoleUserControl)(target)); return; } this._contentLoaded = true; }