/// <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); }
/// <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); }