文件名称:fadeout_example
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
通过将一个层放置在图片并令其alpha通道值随定时器值增加,可实现图片的淡出效果。在此示例中,我应用两个图片框和3个按钮实现此效果。-By placing a layer above an image and letting its alpha value increase step by step with a timer, you can realise fade effects for any image or graphics object in C#. In this example, I placed two PictureBoxes and three buttons on a form. The left-sided PictureBox shows the original picture, while the fade effect is demonstrated inside the right-sided PictureBox. You start everything by clicking on the "Start" button. The "Restart" button reloads the original image and lets you start the effect again. By clicking on the "Pick color" button, you can choose a different color to fade to.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fadeout.exe
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.