资源简介
Winform窗体动画载入和退出
动画的载入窗体效果,在退出时也附带动画效果。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
//该源码下载自C#编程网|www.cpbcw.com
namespace FalshWindows
{
public partial class Form1 : Form
{
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;
public Form1()
{
InitializeComponent();
AnimateWindow(this.Handle 300 AW_SLIDE + AW_VER_NEGATIVE);
}
private void pictureBox1_Click(object sender EventArgs e)
{
}
private void Form1_Load(object sender EventArgs e)
{
}
[DllImportAttribute(“user32.dll“)]
private static extern bool AnimateWindow(IntPtr hwnd int dwTime int dwFlags);
private void Form1_FormClosed(object sender FormClosedEventArgs e)
{
AnimateWindow(this.Handle 300 AW_SLIDE + AW_VER_NEGATIVE + AW_HIDE);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 207360 2012-01-26 13:47 FalshWindows\bin\Debug\FalshWindows.exe
文件 19968 2012-01-26 13:47 FalshWindows\bin\Debug\FalshWindows.pdb
文件 14328 2012-01-26 13:47 FalshWindows\bin\Debug\FalshWindows.vshost.exe
文件 490 2009-06-11 05:14 FalshWindows\bin\Debug\FalshWindows.vshost.exe.manifest
文件 3878 2009-02-23 10:54 FalshWindows\FalshWindows.csproj
文件 1502 2012-01-26 13:47 FalshWindows\Form1.cs
文件 2541 2009-02-23 10:53 FalshWindows\Form1.designer.cs
文件 5814 2009-02-23 10:53 FalshWindows\Form1.resx
文件 879 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.csproj.FileListAbsolute.txt
文件 882 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.csproj.GenerateResource.Cache
文件 207360 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.exe
文件 180 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.Form1.resources
文件 19968 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.pdb
文件 198387 2012-01-26 13:47 FalshWindows\obj\Debug\FalshWindows.Properties.Resources.resources
文件 493 2009-02-23 10:53 FalshWindows\Program.cs
文件 1356 2009-02-23 10:53 FalshWindows\Properties\AssemblyInfo.cs
文件 3091 2009-02-23 10:54 FalshWindows\Properties\Resources.Designer.cs
文件 6190 2009-02-23 10:54 FalshWindows\Properties\Resources.resx
文件 1096 2009-02-23 10:53 FalshWindows\Properties\Settings.Designer.cs
文件 249 2009-02-23 10:53 FalshWindows\Properties\Settings.settings
文件 197920 2009-02-23 10:53 FalshWindows\Resources\4.jpg
文件 926 2009-02-23 10:53 FalshWindows.sln
..A..H. 15360 2012-01-26 13:47 FalshWindows.suo
目录 0 2012-01-26 13:47 FalshWindows\obj\Debug\TempPE
目录 0 2012-01-26 13:47 FalshWindows\bin\Debug
目录 0 2012-01-26 13:47 FalshWindows\obj\Debug
目录 0 2012-01-26 13:47 FalshWindows\bin
目录 0 2012-01-26 13:47 FalshWindows\obj
目录 0 2011-12-23 08:09 FalshWindows\Properties
目录 0 2011-12-23 08:09 FalshWindows\Resources
............此处省略5个文件信息
相关资源
- Winform可视化打印模板设计工具含源码
- c# winform 自动登录 百度账户 源代码
- DirectX.Capturec# winform 操作摄像头录像附
- C# 五子棋程序 附带编程日记
- C# winform实现表数据导出到Excel表格
- C# WinForm读写INI文件
- C#处理png图片位深度和交错属性
- winform(c#)最全73种非常漂亮界面样式
- winform与内嵌echarts的数据交互,让数据
- winform分页控件
- winform materialskin好看的皮肤组件
- winform 皮肤
- C#全套皮肤一共73款(IrisSkin4)
- UI界面皮肤(winform)
- winform开发的人脸识别打卡系统
- winform下拉多选自定义控件(带全选)
- winform控件库
- C# winform简洁漂亮的图形界面库SunnyU
- C# 斑马标签打印 (WEBamp;WINFORM)
- winform shell编程
- winform实时获取网卡网速全部源码,获
- winform实现饼状图、柱状图、折线图(
- winform简单用户登录(带验证码)
- 输入框自动切换中文(C#winform)vs20
- winform右下角弹窗
- windorm 加载WPF控件 ,实现dxf文件显示
- C# 俄罗斯方块(winform)
- C# 贪吃蛇(winform)
- C# 五子棋(winform源码)
- Winform中嵌入excel
评论
共有 条评论