Esempio n. 1
0
        public void Undo()
        {
            if (mState == null)
            {
                return;
            }
            Cover c = mPath.ToolTip as Cover;

            mPath  = mState.AddJunc(c);
            mCurId = mState.AddJunc2Data(c);
        }
Esempio n. 2
0
        public void Excute()
        {
            if (mState == null)
            {
                return;
            }
            int id = mState.AddJunc2Data(mCover);

            mCover.juncInfo.ID = id;
            mPath = mState.AddJunc(mCover);
        }