void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainframe = ((PickandPlace.Pages.BoardDesigner)(target)); #line 12 "..\..\..\Pages\BoardDesigner.xaml" this.mainframe.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainframe_PreviewMouseWheel); #line default #line hidden return; case 2: this.bt_Left = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 3: this.bt_Right = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 4: this.bt_Up = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 5: this.bt_Down = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 6: this.txt_CameraX = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txt_CameraY = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.bt_GetDRO = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\Pages\BoardDesigner.xaml" this.bt_GetDRO.Click += new System.Windows.RoutedEventHandler(this.bt_GetDRO_Click); #line default #line hidden return; case 9: this.dd_ComponentSelect = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.txt_Rotate = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.check_1 = ((System.Windows.Controls.RadioButton)(target)); return; case 12: this.check_2 = ((System.Windows.Controls.RadioButton)(target)); return; case 13: this.dd_distance = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.txt_ComName = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.bt_addrow = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\..\Pages\BoardDesigner.xaml" this.bt_addrow.Click += new System.Windows.RoutedEventHandler(this.bt_addrow_Click); #line default #line hidden return; case 16: this.lblInfo = ((System.Windows.Controls.Label)(target)); return; case 17: this.chk_HeadLED = ((System.Windows.Controls.CheckBox)(target)); #line 111 "..\..\..\Pages\BoardDesigner.xaml" this.chk_HeadLED.Checked += new System.Windows.RoutedEventHandler(this.chk_HeadLED_Checked); #line default #line hidden #line 111 "..\..\..\Pages\BoardDesigner.xaml" this.chk_HeadLED.Unchecked += new System.Windows.RoutedEventHandler(this.chk_HeadLED_Unchecked); #line default #line hidden return; case 18: this.txt_BoardName = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.txt_BoardHeight = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.bt_Stop = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 21: this.bt_Home = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 22: this.bt_SaveFle = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 23: this.bt_eStop = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 24: this._dgBoard = ((System.Windows.Controls.DataGrid)(target)); #line 130 "..\..\..\Pages\BoardDesigner.xaml" this._dgBoard.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this._dgBoard_SelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainframe = ((PickandPlace.Pages.BoardDesigner)(target)); #line 12 "..\..\..\Pages\BoardDesigner.xaml" this.mainframe.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainframe_PreviewMouseWheel); #line default #line hidden return; case 2: this.bt_Left = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 3: this.bt_Right = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 4: this.bt_Up = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 5: this.bt_Down = ((PickandPlace.ImageButtonBasic.ImageButtonBasic)(target)); return; case 6: this.txt_CameraX = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.txt_CameraY = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.bt_GetDRO = ((System.Windows.Controls.Button)(target)); #line 67 "..\..\..\Pages\BoardDesigner.xaml" this.bt_GetDRO.Click += new System.Windows.RoutedEventHandler(this.bt_GetDRO_Click); #line default #line hidden return; case 9: this.dd_ComponentSelect = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.txt_Rotate = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.check_1 = ((System.Windows.Controls.RadioButton)(target)); return; case 12: this.check_2 = ((System.Windows.Controls.RadioButton)(target)); return; case 13: this.dd_distance = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.txt_ComName = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.bt_addrow = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\..\Pages\BoardDesigner.xaml" this.bt_addrow.Click += new System.Windows.RoutedEventHandler(this.bt_addrow_Click); #line default #line hidden return; case 16: this.lblInfo = ((System.Windows.Controls.Label)(target)); return; case 17: this.chk_HeadLED = ((System.Windows.Controls.CheckBox)(target)); #line 111 "..\..\..\Pages\BoardDesigner.xaml" this.chk_HeadLED.Checked += new System.Windows.RoutedEventHandler(this.chk_HeadLED_Checked); #line default #line hidden #line 111 "..\..\..\Pages\BoardDesigner.xaml" this.chk_HeadLED.Unchecked += new System.Windows.RoutedEventHandler(this.chk_HeadLED_Unchecked); #line default #line hidden return; case 18: this.txt_BoardName = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.txt_BoardHeight = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.bt_Stop = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 21: this.bt_Home = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 22: this.bt_SaveFle = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 23: this.bt_eStop = ((PickandPlace.ImageButton.ImageButton)(target)); return; case 24: this._dgBoard = ((System.Windows.Controls.DataGrid)(target)); #line 130 "..\..\..\Pages\BoardDesigner.xaml" this._dgBoard.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this._dgBoard_SelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }