Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin2011.Skin)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.uxAccent1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 4:
     this.uxLeftTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
     return;
     case 5:
     this.uxOpenDoor = ((System.Windows.Shapes.Path)(target));
     return;
     case 6:
     this.uxHazard = ((System.Windows.Shapes.Path)(target));
     return;
     case 7:
     this.uxMalfunction = ((System.Windows.Shapes.Path)(target));
     return;
     case 8:
     this.uxRightTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
     return;
     case 9:
     this.uxRPM = ((System.Windows.Controls.Slider)(target));
     return;
     case 10:
     this.uxMPH = ((System.Windows.Controls.Slider)(target));
     return;
     case 11:
     this.uxFuel = ((System.Windows.Controls.Slider)(target));
     return;
     case 12:
     this.uxTemp = ((System.Windows.Controls.Slider)(target));
     return;
     case 13:
     this.uxOil = ((System.Windows.Controls.Slider)(target));
     return;
     case 14:
     this.uxBattery = ((System.Windows.Controls.Slider)(target));
     return;
     case 15:
     this.uxSettings = ((System.Windows.Controls.Button)(target));
     return;
     case 16:
     this.uxOdometer = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.uxMPG = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.uxMessage = ((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:
                this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin2011.Skin)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.uxAccent1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 4:
                this.uxLeftTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
                return;

            case 5:
                this.uxOpenDoor = ((System.Windows.Shapes.Path)(target));
                return;

            case 6:
                this.uxHazard = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.uxMalfunction = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.uxRightTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
                return;

            case 9:
                this.uxRPM = ((System.Windows.Controls.Slider)(target));
                return;

            case 10:
                this.uxMPH = ((System.Windows.Controls.Slider)(target));
                return;

            case 11:
                this.uxFuel = ((System.Windows.Controls.Slider)(target));
                return;

            case 12:
                this.uxTemp = ((System.Windows.Controls.Slider)(target));
                return;

            case 13:
                this.uxOil = ((System.Windows.Controls.Slider)(target));
                return;

            case 14:
                this.uxBattery = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:
                this.uxSettings = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.uxOdometer = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.uxMPG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.uxMessage = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }