コード例 #1
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;
 }
コード例 #2
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;
 }