1 启动窗体的动画效果

使用AnimateWindow制作淡入淡出效果的窗体

Code

在Load中:

1 AnimateWindow(this.Handle, 3000, AW_BLEND + AW_CENTER);

在FormClosing中:

1 AnimateWindow(this.Handle, 500, AW_SLIDE + AW_VER_POSITIVE + AW_HIDE);

 

2 窗体圆角效果

 

Code

 

 

posted on 2009-10-29 15:57  深挖三尺  阅读(630)  评论(2编辑  收藏  举报