void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._mainWindow = ((ObdExpress.Ui.Windows.MainWindow)(target)); #line 6 "..\..\..\..\Ui\Windows\MainWindow.xaml" this._mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this._mainWindow_Closing); #line default #line hidden #line 7 "..\..\..\..\Ui\Windows\MainWindow.xaml" this._mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded); #line default #line hidden return; case 2: this.miConnect = ((System.Windows.Controls.MenuItem)(target)); #line 36 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miConnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Connect_Click); #line default #line hidden return; case 3: this.miDisconnect = ((System.Windows.Controls.MenuItem)(target)); #line 37 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miDisconnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Disconnect_Click); #line default #line hidden return; case 4: this.miExit = ((System.Windows.Controls.MenuItem)(target)); #line 38 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miExit.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Exit_Click); #line default #line hidden return; case 5: this.miPlugins = ((System.Windows.Controls.MenuItem)(target)); #line 41 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miPlugins.Click += new System.Windows.RoutedEventHandler(this.ToolsMenu_Plugins_Click); #line default #line hidden return; case 6: this.tbBtnConnect = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnConnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Connect_Click); #line default #line hidden return; case 7: this.tbBtnDisconnect = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnDisconnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Disconnect_Click); #line default #line hidden return; case 8: this.tbBtnConsole = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnConsole.Click += new System.Windows.RoutedEventHandler(this.Toolbar_Console_Click); #line default #line hidden return; case 9: this.ddlEcu = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this._layoutGrid = ((System.Windows.Controls.Grid)(target)); return; case 11: this._sideNavBar = ((ObdExpress.Ui.UserControls.SideNavigationBar)(target)); return; case 12: this._gSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 13: this.MainPanelGrid = ((System.Windows.Controls.Grid)(target)); return; case 14: this.menAvailablePanels = ((System.Windows.Controls.MenuItem)(target)); return; case 15: this.ContentAreaGrid = ((System.Windows.Controls.Grid)(target)); return; case 16: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 17: this.imgConnection = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._mainWindow = ((ObdExpress.Ui.Windows.MainWindow)(target)); #line 7 "..\..\..\..\Ui\Windows\MainWindow.xaml" this._mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this._mainWindow_Closing); #line default #line hidden #line 8 "..\..\..\..\Ui\Windows\MainWindow.xaml" this._mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded); #line default #line hidden return; case 2: this.miConnect = ((System.Windows.Controls.MenuItem)(target)); #line 37 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miConnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Connect_Click); #line default #line hidden return; case 3: this.miDisconnect = ((System.Windows.Controls.MenuItem)(target)); #line 38 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miDisconnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Disconnect_Click); #line default #line hidden return; case 4: this.miExit = ((System.Windows.Controls.MenuItem)(target)); #line 39 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miExit.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Exit_Click); #line default #line hidden return; case 5: this.miPlugins = ((System.Windows.Controls.MenuItem)(target)); #line 42 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.miPlugins.Click += new System.Windows.RoutedEventHandler(this.ToolsMenu_Plugins_Click); #line default #line hidden return; case 6: this.tbBtnConnect = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnConnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Connect_Click); #line default #line hidden return; case 7: this.tbBtnDisconnect = ((System.Windows.Controls.Button)(target)); #line 51 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnDisconnect.Click += new System.Windows.RoutedEventHandler(this.FileMenu_Disconnect_Click); #line default #line hidden return; case 8: this.tbBtnConsole = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.tbBtnConsole.Click += new System.Windows.RoutedEventHandler(this.Toolbar_Console_Click); #line default #line hidden return; case 9: this.ddlEcu = ((System.Windows.Controls.ComboBox)(target)); #line 62 "..\..\..\..\Ui\Windows\MainWindow.xaml" this.ddlEcu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlEcu_SelectionChanged); #line default #line hidden return; case 10: this._layoutGrid = ((System.Windows.Controls.Grid)(target)); return; case 11: this._sideNavBar = ((ObdExpress.Ui.UserControls.SideNavigationBar)(target)); return; case 12: this._gSplitter = ((System.Windows.Controls.GridSplitter)(target)); return; case 13: this.MainPanelGrid = ((System.Windows.Controls.Grid)(target)); return; case 14: this.menAvailablePanels = ((System.Windows.Controls.MenuItem)(target)); return; case 15: this.ContentAreaGrid = ((System.Windows.Controls.Grid)(target)); return; case 16: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 17: this.imgConnection = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }