Exemplo n.º 1
0
        /// <summary>
        /// 执行撤消
        /// </summary>
        /// <param name="p_parameter"></param>
        protected override void DoUndo(object p_parameter)
        {
            ResizeArgs args = p_parameter as ResizeArgs;

            SetLoc(args.Node, args.Target, args.OldRect);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 执行命令
        /// </summary>
        /// <param name="p_parameter"></param>
        protected override void DoExecute(object p_parameter)
        {
            ResizeArgs args = p_parameter as ResizeArgs;

            SetLoc(args.Node, args.Target, args.NewRect);
        }