void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BattleShip.HealthBar)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Border)(target)); return; case 3: this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target)); return; case 4: this.Full = ((System.Windows.VisualState)(target)); return; case 5: this.Half = ((System.Windows.VisualState)(target)); return; case 6: this.Low = ((System.Windows.VisualState)(target)); return; case 7: this.Empty = ((System.Windows.VisualState)(target)); return; case 8: this.rectangle = ((System.Windows.Shapes.Rectangle)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BattleShip.HealthBar)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }