Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Battery = ((DesktopClient.Controls.BatteryRecharging)(target));
     return;
     case 2:
     this.canBattery = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.middleBattery = ((System.Windows.Controls.Canvas)(target));
     return;
     case 4:
     this.middleBack = ((System.Windows.Shapes.Path)(target));
     return;
     case 5:
     this.pthFiller = ((System.Windows.Shapes.Path)(target));
     return;
     case 6:
     this.middleTop = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.bottomBattery = ((System.Windows.Controls.Canvas)(target));
     return;
     case 8:
     this.topKnob = ((System.Windows.Controls.Canvas)(target));
     return;
     case 9:
     this.topBattery = ((System.Windows.Controls.Canvas)(target));
     return;
     case 10:
     this.canBatteryReflection = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.middleBattery1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 12:
     this.middleBack1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 13:
     this.pthFiller1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 14:
     this.middleTop1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.bottomBattery1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 16:
     this.topKnob1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 17:
     this.topBattery1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 18:
     this.txtStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Battery = ((DesktopClient.Controls.BatteryRecharging)(target));
                return;

            case 2:
                this.canBattery = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.middleBattery = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.middleBack = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 6:
                this.middleTop = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.bottomBattery = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.topKnob = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.topBattery = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.canBatteryReflection = ((System.Windows.Controls.Canvas)(target));
                return;

            case 11:
                this.middleBattery1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.middleBack1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 13:
                this.pthFiller1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 14:
                this.middleTop1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.bottomBattery1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:
                this.topKnob1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.topBattery1 = ((System.Windows.Controls.Canvas)(target));
                return;

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