示例#1
0
 public void StoreAfter(CadObjectDB db)
 {
     for (int i = 0; i < SnapShotList.Count; i++)
     {
         CadOpeFigureSnapShot ss = SnapShotList[i];
         ss.StoreAfter(db.GetFigure(ss.FigureID));
     }
 }
示例#2
0
        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);
            }
        }