예제 #1
0
 //執行
 public void Execute()
 {
     foreach (IShape shape in _shapes)
     {
         _model.DeleteShape(shape);
     }
 }
예제 #2
0
        // 重新加入所有 shapes
        public void Execute()
        {
            int length = _shapes.Count;

            for (int count = 0; count < length; count++)
            {
                _model.DeleteShape();
            }
        }
예제 #3
0
 // 刪除 shape
 public void BackExecute()
 {
     _model.DeleteShape();
 }
예제 #4
0
 // 取消執行
 public void CancelExecute()
 {
     _model.DeleteShape();
 }
예제 #5
0
 // excute
 public void Execute()
 {
     _model.DeleteShape(_index);
 }