예제 #1
0
파일: LMain.cs 프로젝트: shellohunter/mir2
        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;
        }