1. 首页
  2. 数据库
  3. 其它
  4. C#实现由四周向中心缩小的窗体退出特效

C#实现由四周向中心缩小的窗体退出特效

上传者: 2021-01-03 19:57:01上传 PDF文件 31.99KB 热度 4次
本文实例讲述了C#实现由四周向中心缩小的窗体退出特效。分享给大家供大家参考。具体实现方法如下: public const Int32 AW_CENTER = 0x00000010; public const Int32 AW_HIDE = 0x00010000; [DllImport(user32.dll,CharSet=CharSet.Auto)] public static extern bool AnimateWindow(IntPtr hwnd, int dwTime, int dwFlags); Form_Closing调用:(同时使用AW_CENTER和AW_HIDE标识)
下载地址
用户评论