private void mnuToFrontClick(object sender, EventArgs e) { int index = getIndex(selectedFigure); if (index != -1) { move(index, bkgImages.getCount() - 1); } }
public bool MoveNext() { if (++index >= collection.getCount()) { return(false); } return(true); }
public void Dispose() { collection.getCount(); }
public ReverseEnumerator(FiguresCollection collection) { this.collection = collection; this.index = collection.getCount(); }