📄 class1.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
namespace dazi
{
class Class1
{
private Label A;
private Form F;
public Class1(Label a,Form f)
{
this.A = a;
this.F = f;
}
public void move()
{
do
{
this.A.Location = new Point(this.A.Location.X, this.A.Location.Y + 10);
Thread.Sleep(500);
} while (this.A.Location.Y < this.F.Height - 100);
this.A.Dispose();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -