private void refresh_Click(object sender, RoutedEventArgs e) { try { listBox.ItemsSource = SteamDB.RefreshGames(); } catch (Exception ex) { System.Console.WriteLine(ex); } }
public MainWindow() { InitializeComponent(); settings_diag = new Settings(); shell = new WshShell(); try { listBox.ItemsSource = SteamDB.GetGames(); } catch (Exception ex) { System.Console.WriteLine(ex); } }