private int [] GetIndices ()
{
ArrayList checked_items = owner.CheckedItems.List;
int [] indices = new int [checked_items.Count];
for (int i = 0; i < checked_items.Count; i++) {
ListViewItem item = (ListViewItem) checked_items [i];
indices [i] = item.Index;
}
return indices;
}
} // CheckedIndexCollection