Exemplo n.º 1
0
 public void Excute()
 {
     if (mState == null)
     {
         return;
     }
     if (mState.DelJunc(mPath))
     {
         Cover c = mPath.ToolTip as Cover;
         mState.DelJuncFromData(c);
     }
 }
Exemplo n.º 2
0
 public void Undo()          //delete the junction
 {
     if (mState == null)
     {
         return;
     }
     if (mPath == null)
     {
         return;
     }
     mState.delJunc(mPath);
     mState.DelJuncFromData(mCover);
 }