private void MoveUp() { if (!SelectedIndices.Any()) { return; } UpdateThumbnails(imageList.MoveUp(SelectedIndices)); changeTracker.HasUnsavedChanges = true; }
private void btnSubir_Click(object sender, EventArgs e) { IEnumerable <int> newSelect; if (!SelectedIndices.Any()) { return; } newSelect = imagenesCapturadas.MoveUp(SelectedIndices); tblImagenes.UpdateImages(imagenesCapturadas.Images); SelectedIndices = newSelect; }