public void EditPhoto(int index) { DataStruct p = db.GetPersonByIndex(index); p.setImage(db.GetNewImage()); }