void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winElm327Connector = ((ObdExpress.Ui.Windows.ELM327Connector)(target)); #line 4 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.winElm327Connector.Closing += new System.ComponentModel.CancelEventHandler(this.winElm327Connector_Closing); #line default #line hidden return; case 2: this.btnOk = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click); #line default #line hidden return; case 3: this.cmbPortList = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.dgPorts = ((System.Windows.Controls.DataGrid)(target)); return; case 5: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 6: this.pbProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 7: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.winElm327Connector = ((ObdExpress.Ui.Windows.ELM327Connector)(target)); #line 4 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.winElm327Connector.Closing += new System.ComponentModel.CancelEventHandler(this.winElm327Connector_Closing); #line default #line hidden return; case 2: this.btnOk = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click); #line default #line hidden return; case 3: this.cmbPortList = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.dgPorts = ((System.Windows.Controls.DataGrid)(target)); return; case 5: this.lblStatus = ((System.Windows.Controls.Label)(target)); return; case 6: this.pbProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; case 7: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\..\..\Ui\Windows\ELM327Connector.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }