⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class1.cs

📁 c基本语法的学习
💻 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 + -