在平时后端开发的过程中,经常要把对象封装成DTO,VO对象,来与前端进行交互
下面就是自己封装的对象拷贝工具:
public class BeanCopyUtils {private BeanCopyUtils() {}public static <V> V copyBean(Object source,Class<V> cl…
1.创建自定义按钮类 (CustomButton.cs)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;…