public Bitmap RevokeOper() { if (editShouldPadInfoList.Count >= 2) { editShouldPadInfoList.RemoveAt(editShouldPadInfoList.Count - 1); if (userOperTypeList.Count >= 2) { userOperTypeList.RemoveAt(userOperTypeList.Count - 1); UserOperType = userOperTypeList[0]; } EditShouldPadInfo editShouldPadInfo = editShouldPadInfoList[editShouldPadInfoList.Count - 1]; shouldPadShapeInfo = editShouldPadInfo.ShouldPadShapeInfo; if (editShouldPadInfo.ShapeParams != null) { if (ParamList.Count != 0) { for (int i = 0; i < editShouldPadInfo.ShapeParams.Length; i++) { ParamList[i].Content = editShouldPadInfo.ShapeParams[i].ToString(); } Edit_SaveAllParam(); } } originalMappingRatio = editShouldPadInfo.OriginalMappingRatio; shapeOperManager.SetShouldPadShapeInfo(shouldPadShapeInfo); } return(shapeOperManager.GetShapeBitmap()); }
public Bitmap GetShapeImage() { return(shapeOperManager.GetShapeBitmap()); }