void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWindow = ((OpenDis.Demo.MainWindow)(target)); return; case 2: this.toggleEntityTree = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 54 "..\..\..\MainWindow.xaml" this.toggleEntityTree.Click += new System.Windows.RoutedEventHandler(this.toggleEntityTree_Click); #line default #line hidden return; case 3: this.toggleEntityGrid = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 55 "..\..\..\MainWindow.xaml" this.toggleEntityGrid.Click += new System.Windows.RoutedEventHandler(this.toggleEntityGrid_Click); #line default #line hidden return; case 4: this.toggleCet2006 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 58 "..\..\..\MainWindow.xaml" this.toggleCet2006.Click += new System.Windows.RoutedEventHandler(this.toggleCet2006_Click); #line default #line hidden return; case 5: this.toggleCet2010 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 59 "..\..\..\MainWindow.xaml" this.toggleCet2010.Click += new System.Windows.RoutedEventHandler(this.toggleCet2010_Click); #line default #line hidden return; case 6: this.treeViewEntityTypes = ((System.Windows.Controls.TreeView)(target)); return; case 7: this.dataGridEntityTypes = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.toggleAggregate2006 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 114 "..\..\..\MainWindow.xaml" this.toggleAggregate2006.Click += new System.Windows.RoutedEventHandler(this.toggleAggregate2006_Click); #line default #line hidden return; case 9: this.toggleAggregate2010 = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 115 "..\..\..\MainWindow.xaml" this.toggleAggregate2010.Click += new System.Windows.RoutedEventHandler(this.toggleAggregate2010_Click); #line default #line hidden return; case 10: this.treeViewAggregateTypes = ((System.Windows.Controls.TreeView)(target)); return; case 11: this.treeViewEnumerations = ((System.Windows.Controls.TreeView)(target)); return; } this._contentLoaded = true; }