public void Undo() { object tmp = propList[propertyID].GetValue(obj, null); propList[propertyID].SetValue(obj, oldValue, null); oldValue = tmp; }