protected override void OnNavigatedTo(NavigationEventArgs e) { GameType = NavigationContext.QueryString["game"].ToString(); HelpContent h = new HelpContent(GameType); HelpTitle.Text = h.Title; SetGameLogo(); HelpList.ItemsSource = h.HelpItems; }
public HelpPage(string GameType) { InitializeComponent(); GameName = GameType; HelpContent h = new HelpContent(GameName); HelpTitle.Text = h.Title; SetGameLogo(); HelpList.ItemsSource = h.HelpItems; }
private void GameSetup() { if (PokerGame == null) PokerGame = new VideoPokerGame(GameType); SetLoginButtonState(); LoadAudioFiles(); LoadCurrentBet(); LoadPayTable(); DrawCredits((int)App.settings["credits"]); HelpContent h = new HelpContent(GameType); HelpTitle.Text = h.Title; GameName.Text = h.Title; SetGameLogo(); HelpList.ItemsSource = h.HelpItems; }
private void GameSetup() { if (PokerGame == null) PokerGame = new VideoPokerGame(GameType); HelpContent h = new HelpContent(GameType); GameName.Text = h.Title; LoadAudioFiles(); LoadCurrentBet(); LoadPayTable(); DrawCredits((int)App.settings.Values["credits"]); }