//"Удалить фигуру" private void btnDelete_Click(object sender, EventArgs e) { if (CurrentEditor != null) { int[] a = new int[lvShapes.SelectedIndices.Count]; lvShapes.SelectedIndices.CopyTo(a, 0); CurrentEditor.DeleteFigures(a); CurrentEditor.Refresh(); } }