void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainW = ((PCApplikationMVVM.MainWindow)(target)); return; case 2: this.CategoryGrid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.SearchTextBox = ((Xceed.Wpf.Toolkit.AutoSelectTextBox)(target)); #line 166 "..\..\..\..\Views\Main.xaml" this.SearchTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.SearchTextBox_OnKeyDown_Search); #line default #line hidden return; case 4: this.ComponentGrid = ((System.Windows.Controls.Grid)(target)); return; case 5: this.ComponentDataGridUniqe = ((System.Windows.Controls.DataGrid)(target)); #line 189 "..\..\..\..\Views\Main.xaml" this.ComponentDataGridUniqe.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComponentDataGrid_OnSelectionChanged_AddToDeleteList); #line default #line hidden return; case 6: this.ComponentDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 203 "..\..\..\..\Views\Main.xaml" this.ComponentDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComponentDataGrid_OnSelectionChanged_AddToDeleteList); #line default #line hidden return; case 7: this.ComponentHighlightedGrid = ((System.Windows.Controls.Grid)(target)); return; case 8: this.ComponentImage = ((System.Windows.Controls.Image)(target)); return; case 9: this.DataSheet = ((Xceed.Wpf.Toolkit.AutoSelectTextBox)(target)); return; case 10: this.Manufacturer = ((Xceed.Wpf.Toolkit.AutoSelectTextBox)(target)); return; } this._contentLoaded = true; }