Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.upInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 2:
     this.leftInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 3:
     this.rightInd = ((toggleIndicator.ToolboxControl)(target));
     return;
     case 4:
     this.spinHand = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.gripperPercentLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.wristAngleLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.gripperStrengthBar = ((powerBar.ToolboxControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\MainWindow.xaml"
     ((powerBar_Tester.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.powerBarTest = ((powerBar.ToolboxControl)(target));
     return;
     case 3:
     this.fillSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.fillSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.fillSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }