void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._this = ((PTZ_GUI.MainWindow)(target)); #line 10 "..\..\MainWindow.xaml" this._this.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 13 "..\..\MainWindow.xaml" ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ShowCurCoord_MouseLeftButtonDown); #line default #line hidden return; case 3: this.coorPanel = ((System.Windows.Controls.Canvas)(target)); return; case 4: this.sendButton = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\MainWindow.xaml" this.sendButton.Click += new System.Windows.RoutedEventHandler(this.SendData_Click); #line default #line hidden return; case 5: this.spComBox = ((System.Windows.Controls.ComboBox)(target)); #line 18 "..\..\MainWindow.xaml" this.spComBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.spComBox_SelectionChanged); #line default #line hidden return; case 6: this.label = ((System.Windows.Controls.Label)(target)); return; case 7: this.spState = ((System.Windows.Controls.Label)(target)); return; case 8: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 9: this.label3 = ((System.Windows.Controls.Label)(target)); return; case 10: this.label4 = ((System.Windows.Controls.Label)(target)); return; case 11: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }