void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.blackjackWindow = ((BlackjackWPF.MainWindow)(target)); return; case 2: this.dealerBox = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.dealerCardsItemControl = ((System.Windows.Controls.ItemsControl)(target)); return; case 4: this.playerBox = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.playerBoxCardListView = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.blackjackWindow = ((BlackjackWPF.MainWindow)(target)); return; case 2: this.dealerBox = ((System.Windows.Controls.GroupBox)(target)); return; case 3: this.dealerCardsItemControl = ((System.Windows.Controls.ItemsControl)(target)); return; case 4: this.playerBox = ((System.Windows.Controls.GroupBox)(target)); return; case 5: this.playerCardsItemControl = ((System.Windows.Controls.ItemsControl)(target)); return; case 6: this.restartButton = ((System.Windows.Controls.Button)(target)); return; case 7: this.startButton = ((System.Windows.Controls.Button)(target)); return; case 8: this.standButton = ((System.Windows.Controls.Button)(target)); return; case 9: this.resetButton = ((System.Windows.Controls.Button)(target)); return; case 10: this.hitButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }