public void Undo() { if (mState == null) { return; } Cover c = mPath.ToolTip as Cover; mPath = mState.AddJunc(c); mCurId = mState.AddJunc2Data(c); }
public void Excute() { if (mState == null) { return; } int id = mState.AddJunc2Data(mCover); mCover.juncInfo.ID = id; mPath = mState.AddJunc(mCover); }