void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.control = ((PhoneBook.MyControl.contactListControl)(target)); return; case 2: this.list = ((System.Windows.Controls.Grid)(target)); return; case 3: this.listcontrol = ((System.Windows.Controls.ItemsControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainPage1 = ((PhoneBook.UI.MainPage)(target)); return; case 2: this.menu = ((System.Windows.Controls.Grid)(target)); return; case 3: this.searchBox = ((System.Windows.Controls.TextBox)(target)); #line 49 "..\..\..\UI\MainPage.xaml" this.searchBox.GotFocus += new System.Windows.RoutedEventHandler(this.searchBox_GotFocus); #line default #line hidden #line 49 "..\..\..\UI\MainPage.xaml" this.searchBox.LostFocus += new System.Windows.RoutedEventHandler(this.searchBox_LostFocus); #line default #line hidden return; case 4: this.searchButton = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\..\UI\MainPage.xaml" this.searchButton.Click += new System.Windows.RoutedEventHandler(this.searchButton_Click); #line default #line hidden return; case 5: this.crossButton = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\UI\MainPage.xaml" this.crossButton.Click += new System.Windows.RoutedEventHandler(this.crossButton_Click); #line default #line hidden return; case 6: this.newContactButton = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\..\UI\MainPage.xaml" this.newContactButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.newContact_MouseEnter); #line default #line hidden #line 75 "..\..\..\UI\MainPage.xaml" this.newContactButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.newContact_MouseLeave); #line default #line hidden #line 75 "..\..\..\UI\MainPage.xaml" this.newContactButton.Click += new System.Windows.RoutedEventHandler(this.newContactButton_Click); #line default #line hidden return; case 7: this.groupButton = ((System.Windows.Controls.Button)(target)); #line 84 "..\..\..\UI\MainPage.xaml" this.groupButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.group_MouseEnter); #line default #line hidden #line 84 "..\..\..\UI\MainPage.xaml" this.groupButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.group_MouseLeave); #line default #line hidden return; case 8: this.appointmentsButton = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\..\UI\MainPage.xaml" this.appointmentsButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.appointment_MouseEnter); #line default #line hidden #line 93 "..\..\..\UI\MainPage.xaml" this.appointmentsButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.appointment_MouseLeave); #line default #line hidden #line 93 "..\..\..\UI\MainPage.xaml" this.appointmentsButton.Click += new System.Windows.RoutedEventHandler(this.appointmentsButton_Click); #line default #line hidden return; case 9: this.aboutUsButton = ((System.Windows.Controls.Button)(target)); #line 102 "..\..\..\UI\MainPage.xaml" this.aboutUsButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.aboutUs_MouseEnter); #line default #line hidden #line 102 "..\..\..\UI\MainPage.xaml" this.aboutUsButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.aboutUs_MouseLeave); #line default #line hidden return; case 10: this.userlabel = ((System.Windows.Controls.Label)(target)); return; case 11: this.edit = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\UI\MainPage.xaml" this.edit.MouseEnter += new System.Windows.Input.MouseEventHandler(this.edit_MouseEnter); #line default #line hidden #line 113 "..\..\..\UI\MainPage.xaml" this.edit.MouseLeave += new System.Windows.Input.MouseEventHandler(this.edit_MouseLeave); #line default #line hidden #line 113 "..\..\..\UI\MainPage.xaml" this.edit.Click += new System.Windows.RoutedEventHandler(this.edit_Click); #line default #line hidden return; case 12: this.logout = ((System.Windows.Controls.Button)(target)); #line 120 "..\..\..\UI\MainPage.xaml" this.logout.MouseEnter += new System.Windows.Input.MouseEventHandler(this.logout_MouseEnter); #line default #line hidden #line 120 "..\..\..\UI\MainPage.xaml" this.logout.MouseLeave += new System.Windows.Input.MouseEventHandler(this.logout_MouseLeave); #line default #line hidden #line 120 "..\..\..\UI\MainPage.xaml" this.logout.Click += new System.Windows.RoutedEventHandler(this.logout_Click); #line default #line hidden return; case 13: this.contactViewer = ((System.Windows.Controls.Grid)(target)); return; case 14: this.contactList = ((PhoneBook.MyControl.contactListControl)(target)); return; case 15: this.newContact = ((System.Windows.Controls.Grid)(target)); return; case 16: this.newContactLbl = ((System.Windows.Controls.Label)(target)); return; case 17: this.addPhoto = ((System.Windows.Controls.Button)(target)); #line 148 "..\..\..\UI\MainPage.xaml" this.addPhoto.MouseEnter += new System.Windows.Input.MouseEventHandler(this.addPhoto_MouseEnter); #line default #line hidden #line 148 "..\..\..\UI\MainPage.xaml" this.addPhoto.MouseLeave += new System.Windows.Input.MouseEventHandler(this.addPhoto_MouseLeave); #line default #line hidden #line 148 "..\..\..\UI\MainPage.xaml" this.addPhoto.Click += new System.Windows.RoutedEventHandler(this.addPhoto_Click); #line default #line hidden return; case 18: this.imgUserImage = ((System.Windows.Controls.Border)(target)); #line 156 "..\..\..\UI\MainPage.xaml" this.imgUserImage.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imgUserImage_PreviewMouseDown); #line default #line hidden return; case 19: this.newContactNmae = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.newNumber1 = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.addNumberButton = ((System.Windows.Controls.Button)(target)); #line 225 "..\..\..\UI\MainPage.xaml" this.addNumberButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.addNumberButton_MouseEnter); #line default #line hidden #line 225 "..\..\..\UI\MainPage.xaml" this.addNumberButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.addNumberButton_MouseLeave); #line default #line hidden #line 225 "..\..\..\UI\MainPage.xaml" this.addNumberButton.Click += new System.Windows.RoutedEventHandler(this.addNumberButton_Click); #line default #line hidden return; case 22: this.newNumLimitText = ((System.Windows.Controls.TextBlock)(target)); return; case 23: this.newNumber2 = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.newNumber3 = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.newNumber4 = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.newNumber5 = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.newNumber6 = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.txtNewContactEmail = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.txtStreet = ((System.Windows.Controls.TextBox)(target)); #line 321 "..\..\..\UI\MainPage.xaml" this.txtStreet.MouseEnter += new System.Windows.Input.MouseEventHandler(this.street_MouseEnter); #line default #line hidden #line 321 "..\..\..\UI\MainPage.xaml" this.txtStreet.MouseLeave += new System.Windows.Input.MouseEventHandler(this.street_MouseLeave); #line default #line hidden return; case 30: this.txtCity = ((System.Windows.Controls.TextBox)(target)); #line 330 "..\..\..\UI\MainPage.xaml" this.txtCity.MouseEnter += new System.Windows.Input.MouseEventHandler(this.city_MouseEnter); #line default #line hidden #line 330 "..\..\..\UI\MainPage.xaml" this.txtCity.MouseLeave += new System.Windows.Input.MouseEventHandler(this.city_MouseLeave); #line default #line hidden return; case 31: this.txtState = ((System.Windows.Controls.TextBox)(target)); #line 339 "..\..\..\UI\MainPage.xaml" this.txtState.MouseEnter += new System.Windows.Input.MouseEventHandler(this.state_MouseEnter); #line default #line hidden #line 339 "..\..\..\UI\MainPage.xaml" this.txtState.MouseLeave += new System.Windows.Input.MouseEventHandler(this.state_MouseLeave); #line default #line hidden return; case 32: this.txtZipCode = ((System.Windows.Controls.TextBox)(target)); #line 348 "..\..\..\UI\MainPage.xaml" this.txtZipCode.MouseEnter += new System.Windows.Input.MouseEventHandler(this.zipCode_MouseEnter); #line default #line hidden #line 348 "..\..\..\UI\MainPage.xaml" this.txtZipCode.MouseLeave += new System.Windows.Input.MouseEventHandler(this.zipCode_MouseLeave); #line default #line hidden return; case 33: this.txtCountry = ((System.Windows.Controls.TextBox)(target)); #line 356 "..\..\..\UI\MainPage.xaml" this.txtCountry.MouseEnter += new System.Windows.Input.MouseEventHandler(this.country_MouseEnter); #line default #line hidden #line 356 "..\..\..\UI\MainPage.xaml" this.txtCountry.MouseLeave += new System.Windows.Input.MouseEventHandler(this.country_MouseLeave); #line default #line hidden return; case 34: this._group = ((System.Windows.Controls.ComboBox)(target)); return; case 35: this.txtAbout = ((System.Windows.Controls.RichTextBox)(target)); return; case 36: this.ifsaved = ((System.Windows.Controls.Label)(target)); return; case 37: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 410 "..\..\..\UI\MainPage.xaml" this.btnSave.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnSave_MouseEnter); #line default #line hidden #line 410 "..\..\..\UI\MainPage.xaml" this.btnSave.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSave_MouseLeave); #line default #line hidden #line 410 "..\..\..\UI\MainPage.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 38: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 419 "..\..\..\UI\MainPage.xaml" this.btnCancel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnCancel_MouseEnter); #line default #line hidden #line 419 "..\..\..\UI\MainPage.xaml" this.btnCancel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnCancel_MouseLeave); #line default #line hidden #line 419 "..\..\..\UI\MainPage.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; case 39: this.contactDetails = ((System.Windows.Controls.Grid)(target)); return; case 40: this.image = ((System.Windows.Controls.Border)(target)); return; case 41: this.lblContactName = ((System.Windows.Controls.Label)(target)); return; case 42: this.Number1 = ((System.Windows.Controls.TextBlock)(target)); return; case 43: this.Number2 = ((System.Windows.Controls.TextBlock)(target)); return; case 44: this.Number3 = ((System.Windows.Controls.TextBlock)(target)); return; case 45: this.Number4 = ((System.Windows.Controls.TextBlock)(target)); return; case 46: this.Number5 = ((System.Windows.Controls.TextBlock)(target)); return; case 47: this.Number6 = ((System.Windows.Controls.TextBlock)(target)); return; case 48: this.lblemail = ((System.Windows.Controls.Label)(target)); return; case 49: this.email = ((System.Windows.Controls.TextBlock)(target)); return; case 50: this.lblstreet = ((System.Windows.Controls.Label)(target)); return; case 51: this.lblcity = ((System.Windows.Controls.Label)(target)); return; case 52: this.lblzip = ((System.Windows.Controls.Label)(target)); return; case 53: this.lblstate = ((System.Windows.Controls.Label)(target)); return; case 54: this.lblcountry = ((System.Windows.Controls.Label)(target)); return; case 55: this.street = ((System.Windows.Controls.TextBlock)(target)); return; case 56: this.city = ((System.Windows.Controls.TextBlock)(target)); return; case 57: this.zip = ((System.Windows.Controls.TextBlock)(target)); return; case 58: this.state = ((System.Windows.Controls.TextBlock)(target)); return; case 59: this.country = ((System.Windows.Controls.TextBlock)(target)); return; case 60: this.lblgroup = ((System.Windows.Controls.Label)(target)); return; case 61: this.group = ((System.Windows.Controls.TextBlock)(target)); return; case 62: this.lblabout = ((System.Windows.Controls.Label)(target)); return; case 63: this.about = ((System.Windows.Controls.RichTextBox)(target)); return; } this._contentLoaded = true; }