Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.CurrentCharge = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.LastCharged = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.separator3 = ((System.Windows.Controls.Separator)(target));
                return;

            case 6:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.BatteryAnimation = ((ClientApp.Controls.BatteryRecharging)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.CurrentCharge = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.LastCharged = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.separator3 = ((System.Windows.Controls.Separator)(target));
     return;
     case 6:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.AccountBalance = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.BatteryAnimation = ((ClientApp.Controls.BatteryRecharging)(target));
     return;
     }
     this._contentLoaded = true;
 }