private void removeBlanksToolStripMenuItem_Click(object sender, EventArgs e) { if (MessageBox.Show("Are you sure you want to remove the blank images?", "Remove Blanks", MessageBoxButtons.YesNo) != DialogResult.Yes) { return; } _library.RemoveBlanks(); ImageList.Images.Clear(); _indexList.Clear(); PreviewListView.VirtualListSize = _library.Count; }