private void ShrinkTwice_Click(object sender, System.EventArgs e) { if (FilesList.SelectedIndices.Count == 0) { return; } foreach (int idx in FilesList.SelectedIndices) { Sprite sprite = (Sprite)SPack.Sprites[idx]; sprite.ShrinkTwice(); } }