public SerialClass(EasyPhoto.EPControl.Stage stage, System.Collections.ArrayList layerlist) { this.SerialStage = new StageCase(stage); this.defaultlyaernamenum = stage.SuperParent.defaultTabPageNum; int count = layerlist.Count; if (count > 0) { this.SerialLayers = new LayerCase[count]; for (int i = 0; i < count; i++) { this.SerialLayers[i] = new LayerCase((EasyPhoto.EPControl.Layer)layerlist[i]); } } }
public StageCase(EasyPhoto.EPControl.Stage temp) { this.backgroundColor = temp.BackgroundColor; this.backgroundHeight = temp.BackgroundHeight; this.backgroundWidth = temp.BackgroundWidth; this.size = temp.Size; this.paperName = temp.PaperName; this.startPoint = temp.StartPosition; this.activeNum = temp.ActiveNum; this.backPaperColor = ((SolidBrush)temp.BackPaperColor).Color; this.showRectangle = temp.showRectangle; this.baseImage = (System.Drawing.Bitmap)temp.baseImage.Clone(); this.backImage = temp.BackImage; this.finalImage = temp.FinalImage; this.tempCell = temp.GetTempCell; this.zoom = temp.Zoom; this.arrayList = temp.GetArrayList(); }