void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Resources\Gauges\HumidityGaugeCtrl.xaml"
                ((ProjectTemplate_v2.Models.Gauges.HumidityGaugeCtrl)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.humidityGauge = ((Telerik.Windows.Controls.RadRadialGauge)(target));
                return;

            case 3:
                this.Needle = ((Telerik.Windows.Controls.Gauge.BarIndicator)(target));
                return;

            case 4:
                this.label = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.unit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.lbl_Name = ((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:

            #line 10 "..\..\..\..\Resources\Gauges\TempGaugeCtrl.xaml"
                ((ProjectTemplate_v2.Resources.Gauges.TempGaugeCtrl)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tempGauge = ((Telerik.Windows.Controls.RadVerticalLinearGauge)(target));
                return;

            case 3:
                this.bar = ((Telerik.Windows.Controls.Gauge.BarIndicator)(target));
                return;

            case 4:
                this.numValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.unit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.stateIndicator = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.lbl_Name = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }