private void buttonReorder_Click(object sender, EventArgs e) { DialogReorder dr = new DialogReorder(); dr.populate(caseImages); dr.ShowDialog(); caseImages = dr.caseImages; pb.Image = caseImages[currentImage - 1].image; updateImageLabels(); }