コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\ActionControl.xaml"
     ((LumbarRobot.ActionControl)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\ActionControl.xaml"
     ((LumbarRobot.ActionControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.gridPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tbAction = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.CboAction = ((System.Windows.Controls.ComboBox)(target));
     
     #line 704 "..\..\..\ActionControl.xaml"
     this.CboAction.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboAction_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.tbTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.CboMode = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.setControlForce = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 8:
     this.setControlMinAngle = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 9:
     this.setControlMaxAngle = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 10:
     this.setControlSpeed = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 11:
     this.setControlGroup = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 12:
     this.setControlTimes = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 13:
     this.setControlPosition = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 14:
     this.MyActionListBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 760 "..\..\..\ActionControl.xaml"
     this.MyActionListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MyActionListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.playBtn = ((LumbarRobot.MyUserControl.ControlPanel)(target));
     return;
     case 16:
     this.btnClearBreakdown = ((System.Windows.Controls.Button)(target));
     
     #line 874 "..\..\..\ActionControl.xaml"
     this.btnClearBreakdown.Click += new System.Windows.RoutedEventHandler(this.btnClearBreakdown_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnClearGeocoder = ((System.Windows.Controls.Button)(target));
     
     #line 875 "..\..\..\ActionControl.xaml"
     this.btnClearGeocoder.Click += new System.Windows.RoutedEventHandler(this.btnClearGeocoder_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnActionFree = ((System.Windows.Controls.Button)(target));
     
     #line 876 "..\..\..\ActionControl.xaml"
     this.btnActionFree.Click += new System.Windows.RoutedEventHandler(this.btnActionFree_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.btnPBFit = ((System.Windows.Controls.Button)(target));
     
     #line 877 "..\..\..\ActionControl.xaml"
     this.btnPBFit.Click += new System.Windows.RoutedEventHandler(this.btnFit_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btnRotationFit = ((System.Windows.Controls.Button)(target));
     
     #line 878 "..\..\..\ActionControl.xaml"
     this.btnRotationFit.Click += new System.Windows.RoutedEventHandler(this.btnRotationFit_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 879 "..\..\..\ActionControl.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.gridParam = ((System.Windows.Controls.Grid)(target));
     return;
     case 23:
     this.txtAction = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.txtNextAction = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.txtTimes = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.UPLable = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.eilelc21 = ((LumbarRobot.ActionUserControl.Eilelc2)(target));
     return;
     case 28:
     this.userLine1 = ((LumbarRobot.ActionUserControl.UserLine)(target));
     return;
     case 29:
     this.SetVidicon = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.txtMsg = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.btnNext = ((System.Windows.Controls.Button)(target));
     
     #line 941 "..\..\..\ActionControl.xaml"
     this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.btnAffirm = ((System.Windows.Controls.Button)(target));
     
     #line 942 "..\..\..\ActionControl.xaml"
     this.btnAffirm.Click += new System.Windows.RoutedEventHandler(this.btnAffirm_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.btnCancel2 = ((System.Windows.Controls.Button)(target));
     
     #line 943 "..\..\..\ActionControl.xaml"
     this.btnCancel2.Click += new System.Windows.RoutedEventHandler(this.btnCancel2_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.Downlabel = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.sinWpf1 = ((LumbarRobot.ActionUserControl.TimeSina)(target));
     return;
     case 36:
     this.txtPrompt = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\FitActionControl.xaml"
     ((LumbarRobot.FitActionControl)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\FitActionControl.xaml"
     ((LumbarRobot.FitActionControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.gridPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.tbTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.CboMode = ((System.Windows.Controls.ComboBox)(target));
     
     #line 704 "..\..\..\FitActionControl.xaml"
     this.CboMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMode_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.setControlForce = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 6:
     this.setControlMaxAngle = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 7:
     this.setControlTimes = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 8:
     this.setControlPosition = ((LumbarRobot.MyUserControl.SetControl)(target));
     return;
     case 9:
     this.gvMode = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 10:
     this.playBtn = ((LumbarRobot.MyUserControl.ControlPanel)(target));
     return;
     case 11:
     this.btnClearBreakdown = ((System.Windows.Controls.Button)(target));
     
     #line 764 "..\..\..\FitActionControl.xaml"
     this.btnClearBreakdown.Click += new System.Windows.RoutedEventHandler(this.btnClearBreakdown_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnClearGeocoder = ((System.Windows.Controls.Button)(target));
     
     #line 765 "..\..\..\FitActionControl.xaml"
     this.btnClearGeocoder.Click += new System.Windows.RoutedEventHandler(this.btnClearGeocoder_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnActionFree = ((System.Windows.Controls.Button)(target));
     
     #line 766 "..\..\..\FitActionControl.xaml"
     this.btnActionFree.Click += new System.Windows.RoutedEventHandler(this.btnActionFree_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 767 "..\..\..\FitActionControl.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.gridParam = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.txtAction = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.txtNextAction = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.txtTimes = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.UPLable = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.eilelc21 = ((LumbarRobot.ActionUserControl.Eilelc2)(target));
     return;
     case 21:
     this.userLine1 = ((LumbarRobot.ActionUserControl.UserLine)(target));
     return;
     case 22:
     this.sinWpf1 = ((LumbarRobot.ActionUserControl.TimeSina)(target));
     return;
     case 23:
     this.txtPrompt = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
ファイル: Window1.g.i.cs プロジェクト: wybq68/DIH_LUMBARROBAT
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 7 "..\..\..\Window1.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.textBox2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.button9 = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\Window1.xaml"
     this.button9.Click += new System.Windows.RoutedEventHandler(this.button9_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.button10 = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\Window1.xaml"
     this.button10.Click += new System.Windows.RoutedEventHandler(this.button10_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.eilelc21 = ((LumbarRobot.ActionUserControl.Eilelc2)(target));
     return;
     case 7:
     this.button17 = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\Window1.xaml"
     this.button17.Click += new System.Windows.RoutedEventHandler(this.button17_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.textBox8 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.timeSina2 = ((LumbarRobot.ActionUserControl.TimeSina)(target));
     return;
     case 10:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     
     #line 17 "..\..\..\Window1.xaml"
     this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider1_ValueChanged_1);
     
     #line default
     #line hidden
     return;
     case 11:
     this.textBox3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\Window1.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click_1);
     
     #line default
     #line hidden
     return;
     case 13:
     this.textBox4 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\..\Window1.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click_1);
     
     #line default
     #line hidden
     return;
     case 15:
     this.button4 = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\..\Window1.xaml"
     this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click_1);
     
     #line default
     #line hidden
     return;
     case 16:
     this.button5 = ((System.Windows.Controls.Button)(target));
     
     #line 23 "..\..\..\Window1.xaml"
     this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click_1);
     
     #line default
     #line hidden
     return;
     case 17:
     this.slider2 = ((System.Windows.Controls.Slider)(target));
     
     #line 24 "..\..\..\Window1.xaml"
     this.slider2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider2_ValueChanged_1);
     
     #line default
     #line hidden
     return;
     case 18:
     this.button6 = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\Window1.xaml"
     this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click_1);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }