// Removes the saved game file. private void bt_Delete_Game_File_Clicked(object sender, EventArgs e) { if (File.Exists(EnviromentManager.SavedGamesPath + StatsManager.GameFile)) { File.Delete(EnviromentManager.SavedGamesPath + StatsManager.GameFile); } StatsManager.ClearGameHistory(); lv_View_Game_History.SelectedItem = ((ObservableCollection <Course>)lv_View_Game_History.ItemsSource).FirstOrDefault(); Display_Game_History(); }