UI/FormLoading.cs

(完整代码) 1KB

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

namespace UI
{
    public partial class FormLoading : Form
    {
        public FormLoading()
        {
            InitializeComponent();
        }

        public FormLoading(SplashObject o)
        {
            InitializeComponent();
            if (o.SplashFormInfo.GradualMode)
            {
                this.alphaBlendingBringer1.Interval = 200;
                this.alphaBlendingBringer1.SetAlphaBlending(this);
            }
            this.TopMost = o.SplashFormInfo.TopMost;
            if (o.SplashFormInfo.BackImage != null)
            {
                this.pictureBox1.Image = o.SplashFormInfo.BackImage;
            }
            if (o.SplashFormInfo.ShowCaption)
            {
                this.FormBorderStyle = FormBorderStyle.FixedSingle;
            }
            else
            {
                this.FormBorderStyle = FormBorderStyle.None;
            }
            this.Size = o.SplashFormInfo.FormSize;
            this.Text = o.SplashFormInfo.Text;
            this.splashObj = o;
        }

        private SplashObject splashObj;
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (this.splashObj.Stop)
            {
                this.Close();
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。