コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\View\GuagesView.xaml"
                ((Guages.Client.View.GuagesView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.GuageRev = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 3:
                this.ScaleReverse = ((DevExpress.Xpf.Gauges.ArcScale)(target));
                return;

            case 4:
                this.needleReverse = ((DevExpress.Xpf.Gauges.ArcScaleNeedle)(target));

            #line 20 "..\..\..\View\GuagesView.xaml"
                this.needleReverse.ValueChanged += new DevExpress.Xpf.Gauges.ValueChangedEventHandler(this.needle_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.GuageNotRev = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 6:
                this.Scale = ((DevExpress.Xpf.Gauges.ArcScale)(target));
                return;

            case 7:
                this.needle = ((DevExpress.Xpf.Gauges.ArcScaleNeedle)(target));

            #line 57 "..\..\..\View\GuagesView.xaml"
                this.needle.ValueChanged += new DevExpress.Xpf.Gauges.ValueChangedEventHandler(this.needle_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.lblheader1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.startButton = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.startButton.Click += new System.Windows.RoutedEventHandler(this.ConnectToVrep);

            #line default
            #line hidden
                return;

            case 2:
                this.stopButton = ((DevExpress.Xpf.Core.SimpleButton)(target));
                return;

            case 3:
                this.posJoint1 = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));
                return;

            case 4:
                this.posJoint2 = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));
                return;

            case 5:
                this.posJoint3 = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));
                return;

            case 6:
                this.posJoint4 = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));
                return;

            case 7:
                this.simpleButton = ((DevExpress.Xpf.Core.SimpleButton)(target));
                return;

            case 8:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.feedbackJoint1 = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 11:
                this.feedbackJoint2 = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 12:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.feedbackJoint3 = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 15:
                this.feedbackJoint4 = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\MainWindow.xaml"
                ((UDSStudio.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DXWindow_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                ((UDSStudio.MainWindow)(target)).Closed += new System.EventHandler(this.DXWindow_Closed);

            #line default
            #line hidden
                return;

            case 3:

            #line 562 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.LoadCommand_CanExecute);

            #line default
            #line hidden

            #line 563 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.LoadCommand_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 565 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.UpLoadCommand_CanExecute);

            #line default
            #line hidden

            #line 566 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.UpLoadCommand_Executed);

            #line default
            #line hidden
                return;

            case 5:

            #line 568 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ViewRecordsCommand_CanExecute);

            #line default
            #line hidden

            #line 569 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ViewRecordsCommand_Executed);

            #line default
            #line hidden
                return;

            case 6:

            #line 571 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.AdjustManageCommand_CanExecute);

            #line default
            #line hidden

            #line 572 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AdjustManageCommand_Executed);

            #line default
            #line hidden
                return;

            case 7:

            #line 574 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.WriteAdjustManageCommand_CanExecute);

            #line default
            #line hidden

            #line 575 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.WriteAdjustManageCommand_Executed);

            #line default
            #line hidden
                return;

            case 8:

            #line 578 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DebugManageCommand_CanExecute);

            #line default
            #line hidden

            #line 579 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DebugManageCommand_Executed);

            #line default
            #line hidden
                return;

            case 9:

            #line 584 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ViewPackInfoCommand_CanExecute);

            #line default
            #line hidden

            #line 585 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ViewPackInfoCommand_Executed);

            #line default
            #line hidden
                return;

            case 10:

            #line 587 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SettingCommand_CanExecuted);

            #line default
            #line hidden

            #line 588 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SettingCommand_Executed);

            #line default
            #line hidden
                return;

            case 11:

            #line 590 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.LanguageSelectCommand_CanExecute);

            #line default
            #line hidden

            #line 591 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.LanguageSelectCommand_Executed);

            #line default
            #line hidden
                return;

            case 12:

            #line 593 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenDTCWindowCommand_CanExecute);

            #line default
            #line hidden

            #line 594 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenDTCWindowCommand_Execute);

            #line default
            #line hidden
                return;

            case 13:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.menuConnect = ((System.Windows.Controls.MenuItem)(target));

            #line 711 "..\..\MainWindow.xaml"
                this.menuConnect.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.menuBreak = ((System.Windows.Controls.MenuItem)(target));

            #line 718 "..\..\MainWindow.xaml"
                this.menuBreak.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.menuMasterPowerOn = ((System.Windows.Controls.MenuItem)(target));

            #line 756 "..\..\MainWindow.xaml"
                this.menuMasterPowerOn.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.menuUnlock = ((System.Windows.Controls.MenuItem)(target));

            #line 781 "..\..\MainWindow.xaml"
                this.menuUnlock.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnUpdateSystem = ((System.Windows.Controls.Button)(target));

            #line 783 "..\..\MainWindow.xaml"
                this.btnUpdateSystem.Click += new System.Windows.RoutedEventHandler(this.btnUpdateSystem_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.BatVoltGauge = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 20:
                this.CurrentVoltGauge = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 21:
                this.warnStateListBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 22:
                this.commAnimatedBrush = ((System.Windows.Media.SolidColorBrush)(target));
                return;

            case 23:
                this.labOnLine = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.labOnLine1 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.labOnLine2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StartButton = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 15 "..\..\UI.xaml"
                this.StartButton.Click += new System.Windows.RoutedEventHandler(this.ConnectToVrep);

            #line default
            #line hidden
                return;

            case 2:
                this.StopButton = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 16 "..\..\UI.xaml"
                this.StopButton.Click += new System.Windows.RoutedEventHandler(this.DisconnectFromVrep);

            #line default
            #line hidden
                return;

            case 3:
                this.JointBase = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));

            #line 29 "..\..\UI.xaml"
                this.JointBase.EditValueChanging += new DevExpress.Xpf.Editors.EditValueChangingEventHandler(this.BaseSetValue);

            #line default
            #line hidden
                return;

            case 4:
                this.JointShoulder = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));

            #line 31 "..\..\UI.xaml"
                this.JointShoulder.EditValueChanging += new DevExpress.Xpf.Editors.EditValueChangingEventHandler(this.ShoulderSetValue);

            #line default
            #line hidden
                return;

            case 5:
                this.JointElbow = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));

            #line 33 "..\..\UI.xaml"
                this.JointElbow.EditValueChanging += new DevExpress.Xpf.Editors.EditValueChangingEventHandler(this.ElbowSetValue);

            #line default
            #line hidden
                return;

            case 6:
                this.JointWrist = ((DevExpress.Xpf.Editors.TrackBarEdit)(target));

            #line 35 "..\..\UI.xaml"
                this.JointWrist.EditValueChanging += new DevExpress.Xpf.Editors.EditValueChangingEventHandler(this.WristSetValue);

            #line default
            #line hidden
                return;

            case 7:
                this.MoveJointsButton = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 36 "..\..\UI.xaml"
                this.MoveJointsButton.Click += new System.Windows.RoutedEventHandler(this.SetJointPosition);

            #line default
            #line hidden
                return;

            case 8:
                this.GBase = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 9:
                this.GShoulder = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 10:
                this.GElbow = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;

            case 11:
                this.GWrist = ((DevExpress.Xpf.Gauges.CircularGaugeControl)(target));
                return;
            }
            this._contentLoaded = true;
        }