Form1.cs

(完整代码) 960B

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 form霓虹灯test05
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitializeTime();
        }
        // 下载于www.51aspx.com
        private void InitializeTime()
        {
            timer1.Interval = 1000;
            timer1.Enabled = true;
            timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            Random a = new Random();
            Random b = new Random();
            Random c = new Random();
            int x = a.Next(0, 255);
            int y = b.Next(0, 100) / 2;

            Color c1 = Color.FromArgb(x,1,y);
            this.BackColor = c1;
        }
    }
}

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

AI 解读 AI

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

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