public void StoreAfter(CadObjectDB db) { for (int i = 0; i < SnapShotList.Count; i++) { CadOpeFigureSnapShot ss = SnapShotList[i]; ss.StoreAfter(db.GetFigure(ss.FigureID)); } }
public void StoreBefore(List <CadFigure> figList) { for (int i = 0; i < figList.Count; i++) { CadOpeFigureSnapShot ss = new CadOpeFigureSnapShot(); ss.StoreBefore(figList[i]); SnapShotList.Add(ss); } }