//历史记录--------图片附加属性 public void ReadyHistory_ImgProp(List <MImgElement> imgElements) { preValue_ImgProp = new HistoryValue_ImgProp(); foreach (MImgElement element in imgElements) { ImgProp imgProp = new ImgProp(); imgProp.imgElement = element; imgProp.forbidOptimize = element.forbidOptimize; imgProp.strAlphaImage = element.strAlphaImage; imgProp.strPmt = element.strPmt; imgProp.alpha = element.alpha; imgProp.linkID = element.linkID; preValue_ImgProp.imgProps.Add(imgProp); } }
public void AddHistory_ImgProp(List <MImgElement> imgElements) { HistoryValue_ImgProp nextValue_ImgProp = new HistoryValue_ImgProp(); foreach (MImgElement element in imgElements) { ImgProp imgProp = new ImgProp(); imgProp.imgElement = element; imgProp.forbidOptimize = element.forbidOptimize; imgProp.strAlphaImage = element.strAlphaImage; imgProp.strPmt = element.strPmt; imgProp.alpha = element.alpha; imgProp.linkID = element.linkID; nextValue_ImgProp.imgProps.Add(imgProp); } HistoryItem_ImgProp item = new HistoryItem_ImgProp(this); item.setValue(preValue_ImgProp, nextValue_ImgProp); AddItem(item); form_MA.refreshHistoryButtons(); ReadyHistory_ImgProp(imgElements); }
public void AddHistory_ImgProp(List<MImgElement> imgElements) { HistoryValue_ImgProp nextValue_ImgProp = new HistoryValue_ImgProp(); foreach (MImgElement element in imgElements) { ImgProp imgProp = new ImgProp(); imgProp.imgElement = element; imgProp.forbidOptimize = element.forbidOptimize; imgProp.strAlphaImage = element.strAlphaImage; imgProp.strPmt = element.strPmt; imgProp.alpha = element.alpha; imgProp.linkID = element.linkID; nextValue_ImgProp.imgProps.Add(imgProp); } HistoryItem_ImgProp item = new HistoryItem_ImgProp(this); item.setValue(preValue_ImgProp, nextValue_ImgProp); AddItem(item); form_MA.refreshHistoryButtons(); ReadyHistory_ImgProp(imgElements); }
//历史记录--------图片附加属性 public void ReadyHistory_ImgProp(List<MImgElement> imgElements) { preValue_ImgProp = new HistoryValue_ImgProp(); foreach (MImgElement element in imgElements) { ImgProp imgProp = new ImgProp(); imgProp.imgElement = element; imgProp.forbidOptimize = element.forbidOptimize; imgProp.strAlphaImage = element.strAlphaImage; imgProp.strPmt = element.strPmt; imgProp.alpha = element.alpha; imgProp.linkID = element.linkID; preValue_ImgProp.imgProps.Add(imgProp); } }