void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainElement = ((Microsoft.FamilyShow.Histogram)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.HistogramListBox = ((System.Windows.Controls.ListBox)(target)); #line 93 "..\..\..\..\Controls\FamilyData\Histogram.xaml" this.HistogramListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.HistogramListBox_SelectionChanged); #line default #line hidden return; case 4: this.TotalCountLabel = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
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; }