Form1.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace testwin
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
button2.BringToFront();
}
private void button2_MouseEnter(object sender, EventArgs e)
{
Random r = new Random();
int x = r.Next(this.ClientSize.Width - this.button2.Width);
int y = r.Next(this.ClientSize.Height - this.button2.Height);
this.button2.Location = new Point(x, y);
}
// 下载于www.51aspx.com
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(" 测试结果:是吧是吧!承认自己是笨蛋了吧~ 哈哈!!!");
}
private void button2_Click(object sender, EventArgs e)
{
MessageBox.Show(" 我艹!这你都能点到?肯花这么多功夫点我,果然有笨蛋天赋!!!");
}
private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
MessageBox.Show(" 关闭了也改变不了你是笨蛋的事实!~\n\n ^ _ ^");
}
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if (keyData == Keys.Tab || keyData == Keys.Right || keyData == Keys.Left || keyData == Keys.Up || keyData == Keys.Down)
{
button2.Focus();
}
return false;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。