Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.HeaderPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 263 "..\..\..\..\Controls\FamilyData\FamilyData.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.BodyBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.FilterTextBox = ((Microsoft.FamilyShow.FilterText)(target));

            #line 283 "..\..\..\..\Controls\FamilyData\FamilyData.xaml"
                this.FilterTextBox.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.FilterTextBox_TextChanged));

            #line default
            #line hidden
                return;

            case 6:
                this.FamilyEditor = ((Microsoft.FamilyShow.FamilyEditListView)(target));
                return;

            case 7:
                this.TagCloudControl = ((Microsoft.FamilyShow.TagCloud)(target));
                return;

            case 8:
                this.AgeDistributionControl = ((Microsoft.FamilyShow.Histogram)(target));
                return;

            case 9:
                this.BirthdaysControl = ((Microsoft.FamilyShow.SharedBirthdays)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Controls\Details.xaml"
                ((Microsoft.FamilyShow.Details)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 62 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ExpandDetailsAdd_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 3:

            #line 107 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.CollapseDetailsAdd_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 4:

            #line 149 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ExpandDetailsEdit_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 5:

            #line 184 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.CollapseDetailsEdit_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 6:

            #line 209 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ExpandDetailsEditRelationship_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 7:

            #line 233 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.CollapseDetailsEditRelationship_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 8:

            #line 254 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ExpandDetailsAddIntermediate_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 9:

            #line 299 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.CollapseDetailsAddIntermediate_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 10:

            #line 364 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ExpandAddExisting_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 11:

            #line 398 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.CollapseAddExisting_StoryboardCompleted);

            #line default
            #line hidden
                return;

            case 12:
                this.CollapseDetailsEdit_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 13:
                this.ExpandDetailsEditRelationship_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 14:
                this.CollapseDetailsEditRelationship_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 15:
                this.CollapseDetailsAddIntermediate_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 16:
                this.NoPhoto_MouseEnter_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 17:
                this.NoPhoto_MouseLeave_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 18:
                this.DetailsHeaderBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.DetailsHeader = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 20:
                this.Star = ((System.Windows.Shapes.Path)(target));
                return;

            case 21:
                this.DeleteButton = ((System.Windows.Controls.Button)(target));

            #line 687 "..\..\..\Controls\Details.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.NameHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.DetailsBodyBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 24:
                this.DetailsInfo = ((System.Windows.Controls.Border)(target));
                return;

            case 25:

            #line 703 "..\..\..\Controls\Details.xaml"
                ((System.Windows.Controls.Grid)(target)).Drop += new System.Windows.DragEventHandler(this.AvatarPhoto_Drop);

            #line default
            #line hidden
                return;

            case 26:
                this.AvatarPhotoBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 27:
                this.Avatar = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.NoPhotoBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 29:
                this.NoPhotoRectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 30:
                this.DragPhotoTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.FullNameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.FullNameTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.BirthDateTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.BirthPlaceTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.EditButton = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.EditRelationshipsButton = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.InfoButton = ((System.Windows.Controls.Button)(target));

            #line 735 "..\..\..\Controls\Details.xaml"
                this.InfoButton.Click += new System.Windows.RoutedEventHandler(this.InfoButton_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.AddFamilyGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.FamilyMemberComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 747 "..\..\..\Controls\Details.xaml"
                this.FamilyMemberComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FamilyMemberComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.FamilyMemberAddButton = ((System.Windows.Controls.Button)(target));

            #line 748 "..\..\..\Controls\Details.xaml"
                this.FamilyMemberAddButton.Click += new System.Windows.RoutedEventHandler(this.FamilyMemberAddButton_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.DetailsEdit = ((System.Windows.Controls.Border)(target));

            #line 756 "..\..\..\Controls\Details.xaml"
                this.DetailsEdit.Drop += new System.Windows.DragEventHandler(this.AvatarPhoto_Drop);

            #line default
            #line hidden
                return;

            case 42:
                this.AvatarPhoto = ((System.Windows.Controls.Image)(target));
                return;

            case 43:
                this.GenderListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 44:
                this.FirstNameEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.MiddleNameEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.LastNameEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.SuffixEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.BirthDateEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.IsLivingEditCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 50:
                this.BirthPlaceEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.DeathDateEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 52:
                this.DeathPlaceEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.DoneEditButton = ((System.Windows.Controls.Button)(target));

            #line 820 "..\..\..\Controls\Details.xaml"
                this.DoneEditButton.Click += new System.Windows.RoutedEventHandler(this.DoneEditButton_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.DetailsEditRelationship = ((System.Windows.Controls.Border)(target));
                return;

            case 55:
                this.EditRelationshipsTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.ParentsEditListBox = ((System.Windows.Controls.ListBox)(target));

            #line 835 "..\..\..\Controls\Details.xaml"
                this.ParentsEditListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ParentsEditListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 57:
                this.NoSpousesTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.SpousesInfo = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 59:
                this.SpousesCombobox = ((System.Windows.Controls.ComboBox)(target));

            #line 861 "..\..\..\Controls\Details.xaml"
                this.SpousesCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SpousesCombobox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 60:
                this.SpouseStatusListbox = ((System.Windows.Controls.ListBox)(target));

            #line 862 "..\..\..\Controls\Details.xaml"
                this.SpouseStatusListbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SpouseStatusListbox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 61:
                this.FromEditTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 895 "..\..\..\Controls\Details.xaml"
                this.FromEditTextBox.LostFocus += new System.Windows.RoutedEventHandler(this.FromEditTextBox_LostFocus);

            #line default
            #line hidden
                return;

            case 62:
                this.ToEditTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 898 "..\..\..\Controls\Details.xaml"
                this.ToEditTextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ToEditTextBox_LostFocus);

            #line default
            #line hidden
                return;

            case 63:
                this.DoneEditRelationshipButton = ((System.Windows.Controls.Button)(target));

            #line 905 "..\..\..\Controls\Details.xaml"
                this.DoneEditRelationshipButton.Click += new System.Windows.RoutedEventHandler(this.DoneEditRelationshipButton_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.DetailsAdd = ((System.Windows.Controls.Border)(target));
                return;

            case 65:
                this.FirstNameInputTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 66:
                this.LastNameInputTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 67:
                this.BirthDateInputTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 68:
                this.IsLivingInputCheckbox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 69:
                this.BirthPlaceInputTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.AddButton = ((System.Windows.Controls.Button)(target));

            #line 942 "..\..\..\Controls\Details.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

            case 71:
                this.CloseButton = ((System.Windows.Controls.Button)(target));

            #line 943 "..\..\..\Controls\Details.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.AddExisting = ((System.Windows.Controls.Border)(target));
                return;

            case 73:
                this.ConnectWithPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 74:
                this.FilterTextBox1 = ((Microsoft.FamilyShow.FilterText)(target));

            #line 975 "..\..\..\Controls\Details.xaml"
                this.FilterTextBox1.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.FilterTextBox1_TextChanged));

            #line default
            #line hidden
                return;

            case 75:
                this.ExistingPeopleListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 76:
                this.ConnectAsPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 77:
                this.ExistingFamilyMemberComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 78:
                this.AddExistingButton = ((System.Windows.Controls.Button)(target));

            #line 993 "..\..\..\Controls\Details.xaml"
                this.AddExistingButton.Click += new System.Windows.RoutedEventHandler(this.AddExistingButton_Click);

            #line default
            #line hidden
                return;

            case 79:
                this.CancelAddExistingButton = ((System.Windows.Controls.Button)(target));

            #line 994 "..\..\..\Controls\Details.xaml"
                this.CancelAddExistingButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 80:
                this.DetailsAddIntermediate = ((System.Windows.Controls.Border)(target));
                return;

            case 81:
                this.ParentsListBox = ((System.Windows.Controls.ListBox)(target));

            #line 1012 "..\..\..\Controls\Details.xaml"
                this.ParentsListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ParentsListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 82:
                this.IntermediateAddButton = ((System.Windows.Controls.Button)(target));

            #line 1033 "..\..\..\Controls\Details.xaml"
                this.IntermediateAddButton.Click += new System.Windows.RoutedEventHandler(this.IntermediateAddButton_Click);

            #line default
            #line hidden
                return;

            case 83:
                this.IntermediateCloseButton = ((System.Windows.Controls.Button)(target));

            #line 1034 "..\..\..\Controls\Details.xaml"
                this.IntermediateCloseButton.Click += new System.Windows.RoutedEventHandler(this.IntermediateCloseButton_Click);

            #line default
            #line hidden
                return;

            case 84:
                this.DetailsList = ((System.Windows.Controls.Border)(target));
                return;

            case 85:
                this.FamilyDataButton = ((System.Windows.Controls.Button)(target));

            #line 1049 "..\..\..\Controls\Details.xaml"
                this.FamilyDataButton.Click += new System.Windows.RoutedEventHandler(this.FamiliyDataButton_Click);

            #line default
            #line hidden
                return;

            case 86:
                this.FilterTextBox = ((Microsoft.FamilyShow.FilterText)(target));

            #line 1053 "..\..\..\Controls\Details.xaml"
                this.FilterTextBox.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.FilterTextBox_TextChanged));

            #line default
            #line hidden
                return;

            case 87:
                this.FamilyListView = ((Microsoft.FamilyShow.FamilyDisplayListView)(target));
                return;
            }
            this._contentLoaded = true;
        }