void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Page = ((BattleShip.GameWindowPage)(target)); #line 9 "..\..\GameWindowPage.xaml" this.Page.Initialized += new System.EventHandler(this.Page_Initialized); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.myGamePanel = ((BattleShip.GamePanel)(target)); return; case 4: this.enemyPanel = ((BattleShip.GamePanel)(target)); return; case 5: this.Log = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.Chat = ((BattleShip.Chat)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BattleShip.GamePanel)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.content = ((System.Windows.Controls.Grid)(target)); return; case 4: this.healthbar = ((BattleShip.HealthBar)(target)); return; case 5: this.playfield = ((BattleShip.Playfield)(target)); return; case 6: this.playerName = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }