使用系统API函数,首先要在命名空间加using System.Runtime.InteropServices;引用。 //重写API函数,用来执行窗体动画显示操作 [DllImportAttribute("user32.dll")] private static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); 使用方法:
评论星级较低,若资源使用遇到问题可联系上传者,3个工作日内问题未解决可申请退款~