private void ID_Game(object sender, RoutedEventArgs e) { int id = GameIDSelection.ShowDialog("Please enter a game id from J-Archive", ""); Scraper sc = new Scraper(); CurrentGame = sc.Parse_Page(id); PopulateBoard(1); }
private void NewGame_ID_Click(object sender, RoutedEventArgs e) { //Create Dialog Box Asking for ID (Loads from HTML Files) int id = GameIDSelection.ShowDialog("Please enter a game id from J-Archive", ""); GameBoardWindow window = new GameBoardWindow(id); window.Show(); this.Close(); }