void btn_DeleteFile_Click(object sender, EventArgs e) { presenter.DeleteFile(GetSelectedFilename()); if (lv_Files.SelectedItems.Count == 1) { lv_Files.Items.Remove(lv_Files.SelectedItems[0]); } }