private void ManageReplaysDeleteButton_Click(object sender, EventArgs e) { ReplayData replayData = (ReplayData)ManageReplaysList.SelectedItems[0].Tag; ReplayManager.DeleteReplay(replayData.Filename); this.LoadReplays(); }