C#的闪屏的制作

    技术2022-05-20  69

    效果图:

      ===========================窗体中用到的控键================================ 时间控键:Timer 属性设置:Enabled   为  True     图片控键:PictureBox    

     ========================================================================

     ==================================================================

    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 考试系统{    public partial class splash : Form    {        public splash()        {            InitializeComponent();        }        int i;        private void splash_Load(object sender, EventArgs e)        {            i = 8;        }

            private void timer1_Tick(object sender, EventArgs e)        {            i--;            if (i == 0)                this.Close();        }    }}


    最新回复(0)