void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Microscan_App = ((Microscan_WPF.MainWindow)(target)); return; case 2: this.MicroscanApp = ((System.Windows.Controls.Grid)(target)); return; case 3: this.WPFHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; case 4: this.RunMode_btn = ((System.Windows.Controls.Button)(target)); return; case 5: this.Trigger_btn = ((System.Windows.Controls.Button)(target)); return; case 6: this.SetupMode_btn = ((System.Windows.Controls.Button)(target)); return; case 7: this.LoadAVP_btn = ((System.Windows.Controls.Button)(target)); return; case 8: this.CreateAVP_btn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Microscan_App = ((Microscan_WPF.MainWindow)(target)); #line 8 "..\..\MainWindow.xaml" this.Microscan_App.Loaded += new System.Windows.RoutedEventHandler(this.Microscan_App_Loaded); #line default #line hidden #line 8 "..\..\MainWindow.xaml" this.Microscan_App.Closing += new System.ComponentModel.CancelEventHandler(this.Microscan_App_Closing); #line default #line hidden return; case 2: this.MicroscanApp = ((System.Windows.Controls.Grid)(target)); return; case 3: this.WFHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target)); return; case 4: this.RunMode_btn = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\MainWindow.xaml" this.RunMode_btn.Click += new System.Windows.RoutedEventHandler(this.RunMode_btn_Click); #line default #line hidden return; case 5: this.Trigger_btn = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\MainWindow.xaml" this.Trigger_btn.Click += new System.Windows.RoutedEventHandler(this.Trigger_btn_Click); #line default #line hidden return; case 6: this.SetupMode_btn = ((System.Windows.Controls.Button)(target)); #line 21 "..\..\MainWindow.xaml" this.SetupMode_btn.Click += new System.Windows.RoutedEventHandler(this.SetupMode_btn_Click); #line default #line hidden return; case 7: this.LoadAVP_btn = ((System.Windows.Controls.Button)(target)); #line 22 "..\..\MainWindow.xaml" this.LoadAVP_btn.Click += new System.Windows.RoutedEventHandler(this.LoadAVP_btn_Click); #line default #line hidden return; case 8: this.CreateAVP_btn = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\MainWindow.xaml" this.CreateAVP_btn.Click += new System.Windows.RoutedEventHandler(this.CreateAVP_btn_Click); #line default #line hidden return; case 9: this.textBox1 = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.textBox2 = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }