コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Time7Segment = ((DevExpress.Xpf.Gauges.DigitalGaugeControl)(target));
                return;

            case 2:
                this.WatchNewYorkScale = ((DevExpress.Xpf.Gauges.ArcScale)(target));
                return;

            case 3:
                this.HourIndicatorNewYork = ((DevExpress.Xpf.Gauges.ArcScaleNeedle)(target));
                return;

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

            case 5:
                this.SecondIndicatorNewYork = ((DevExpress.Xpf.Gauges.ArcScaleNeedle)(target));
                return;

            case 6:
                this.FourteenSegmentsGauge = ((DevExpress.Xpf.Gauges.DigitalGaugeControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
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;
        }