• 大小: 343KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-05-29
  • 语言: C#
  • 标签:

资源简介

c#+WINFORM+漂亮的软件启动界面特效源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace kaiqidonghuan
{
    public partial class Formdonghua : Form
    {
        //动画窗体调用关闭时将向上移出屏幕
        [System.Runtime.InteropServices.DllImport(“user32“)]
        private static extern bool AnimateWindow(IntPtr hwnd int dwTime int dwFlags);
        const int AW_HOR_POSITIVE = 0x0001;
        const int AW_HOR_NEGATIVE = 0x0002;
        const int AW_VER_POSITIVE = 0x0004;
        const int AW_VER_NEGATIVE = 0x0008;
        const int AW_CENTER = 0x0010;
        const int AW_HIDE = 0x10000;
        const int AW_ACTIVATE = 0x20000;
        const int AW_SLIDE = 0x40000;
        const int AW_BLEND = 0x80000;
        //…………………………………………………………
        public Formdonghua()
        {
            InitializeComponent();
        }

        private void Formdonghua_Load(object sender EventArgs e)
        {
            //动画由小渐大现在取消
            AnimateWindow(this.Handle 1000 AW_CENTER | AW_ACTIVATE);

            //主界面渐变设置
            this.jianbian.Enabled = true;//让jianbian的timer值有效
            this.Opacity = 0;
            //………………………………………………
        }

        private void jianbian_Tick(object sender EventArgs e)
        {
            //让背景由0变到1
            if (this.Opacity < 1)
            {
                this.Opacity = this.Opacity + 0.05;
            }
            else
            {
                this.jianbian.Enabled = false;
            }
        }

        private void Formdonghua_FormClosing(object sender FormClosingEventArgs e)
        {//关闭时动画
            AnimateWindow(this.Handle 1000 AW_SLIDE | AW_HIDE | AW_VER_NEGATIVE);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2014  2008-09-13 15:25  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Formdonghua.cs

     文件       2365  2008-09-13 15:25  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Formdonghua.Designer.cs

     文件      93123  2008-09-13 15:25  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Formdonghua.resx

     文件       3262  2008-09-13 15:22  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\GoldMoon.ico

     文件       3891  2008-09-13 15:22  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\kaiqidonghuan.csproj

     文件        500  2008-09-13 15:13  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Program.cs

     文件       1387  2008-09-13 15:22  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Properties\AssemblyInfo.cs

     文件       2876  2008-09-13 15:12  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Properties\Resources.Designer.cs

     文件       5612  2008-09-13 15:12  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Properties\Resources.resx

     文件       1098  2008-09-13 15:12  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Properties\Settings.Designer.cs

     文件        249  2008-09-13 15:12  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan\Properties\Settings.settings

     文件        929  2008-09-13 15:12  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan.sln

    ..A..H.      7168  2013-12-21 15:33  c#+WINFORM+漂亮的软件启动界面特效源码\Backup\kaiqidonghuan.suo

     文件      71168  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\bin\Debug\kaiqidonghuan.exe

     文件      28160  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\bin\Debug\kaiqidonghuan.pdb

     文件      11608  2013-12-21 15:31  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\bin\Debug\kaiqidonghuan.vshost.exe

     文件        490  2010-03-17 22:39  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\bin\Debug\kaiqidonghuan.vshost.exe.manifest

     文件       2014  2013-12-21 15:32  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\Formdonghua.cs

     文件       2364  2013-12-21 15:32  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\Formdonghua.Designer.cs

     文件      93379  2013-12-21 15:32  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\Formdonghua.resx

     文件       3262  2008-09-13 15:22  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\GoldMoon.ico

     文件       4080  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\kaiqidonghuan.csproj

     文件       6338  2013-12-21 15:31  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1739  2013-12-21 15:31  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.csproj.FileListAbsolute.txt

     文件        853  2008-09-13 15:25  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.csproj.GenerateResource.Cache

     文件      71168  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.exe

     文件      58818  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.Formdonghua.resources

     文件      28160  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.pdb

     文件        180  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\kaiqidonghuan.Properties.Resources.resources

     文件       4608  2013-12-21 15:30  c#+WINFORM+漂亮的软件启动界面特效源码\kaiqidonghuan\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

............此处省略29个文件信息

评论

共有 条评论