淡出淡入窗体
来源:互联网 发布:停车软件app排行榜 编辑:程序博客网 时间:2024/04/30 08:33
using System.Runtime.InteropServices;
public class Win32
...{
public const Int32 AW_HOR_POSITIVE = 0x00000001; // 从左到右打开窗口
public const Int32 AW_HOR_NEGATIVE = 0x00000002; // 从右到左打开窗口
public const Int32 AW_VER_POSITIVE = 0x00000004; // 从上到下打开窗口
public const Int32 AW_VER_NEGATIVE = 0x00000008; // 从下到上打开窗口
public const Int32 AW_CENTER = 0x00000010;
public const Int32 AW_HIDE = 0x00010000; // 在窗体卸载时若想使用本函数就得加上此常量
public const Int32 AW_ACTIVATE = 0x00020000; //在窗体通过本函数打开后,默认情况下会失去焦点,除非加上本常量
public const Int32 AW_SLIDE = 0x00040000;
public const Int32 AW_BLEND = 0x00080000; // 淡入淡出效果
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern bool AnimateWindow(
IntPtr hwnd, // handle to window
int dwTime, // duration of animation
int dwFlags // animation type
);
}
public class Win32
...{
public const Int32 AW_HOR_POSITIVE = 0x00000001; // 从左到右打开窗口
public const Int32 AW_HOR_NEGATIVE = 0x00000002; // 从右到左打开窗口
public const Int32 AW_VER_POSITIVE = 0x00000004; // 从上到下打开窗口
public const Int32 AW_VER_NEGATIVE = 0x00000008; // 从下到上打开窗口
public const Int32 AW_CENTER = 0x00000010;
public const Int32 AW_HIDE = 0x00010000; // 在窗体卸载时若想使用本函数就得加上此常量
public const Int32 AW_ACTIVATE = 0x00020000; //在窗体通过本函数打开后,默认情况下会失去焦点,除非加上本常量
public const Int32 AW_SLIDE = 0x00040000;
public const Int32 AW_BLEND = 0x00080000; // 淡入淡出效果
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern bool AnimateWindow(
IntPtr hwnd, // handle to window
int dwTime, // duration of animation
int dwFlags // animation type
);
}
- C#淡出淡入窗体
- 淡出淡入窗体
- C#淡出淡入窗体
- 窗体淡入淡出效果
- 窗体的淡入淡出
- 窗体淡入淡出效果
- 窗体的淡入淡出效果
- VB实现窗体淡入淡出
- 窗体淡入淡出(2)
- vc 窗体淡入淡出 效果
- 为窗体增加淡入淡出效果
- Winform窗体淡入淡出效果实现
- 实现窗体淡入淡出的完整代码
- VB6中实现窗体淡入淡出
- 实现窗体淡入淡出的完整代码
- C#实现窗体的淡入淡出效果
- C#窗体实现淡入淡出效果
- C# 实现窗体的淡入淡出效果
- 命令行Dos下编译、运行java文件是出现has value '1.4', but '1.6' is required.错误
- 详细的SQL注入相关的命令
- 将表数据生成SQL脚本的存储过程
- 计算机的几种时间格式
- SQL server 2005中新增的排序函数及操作
- 淡出淡入窗体
- Sql常用函数语句
- 在SqlServer2005 中自定义一个 Split函数与C#中的Split功能一样
- 批量生成insert into语句(带有数据)
- 每个开发人员现在应该下载的十种必备工具
- 项目规划
- C#导出Excal表
- Google搜索恶意站点报告网页上线
- 《设计模式解析》:一些概念