void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((MagicTactilForWindows.View.Game)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.DeckButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 4: this.ExileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 5: this.GraveyardButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 6: this.MyBoard = ((MagicTactilForWindows.UCBoard)(target)); return; case 7: this.OppBoard = ((MagicTactilForWindows.UCBoard)(target)); return; case 8: this.ExileButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 9: this.GraveyardButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 10: this.BackButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((MagicTactilForWindows.View.Game)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.DeckButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 4: this.ExileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 5: this.GraveyardButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 6: this.MyBoard = ((MagicTactilForWindows.UCBoard)(target)); return; case 7: this.OppBoard = ((MagicTactilForWindows.UCBoard)(target)); return; case 8: this.ExileButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 9: this.GraveyardButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; case 10: this.BackButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)); return; } this._contentLoaded = true; }