C# 实现文字滚动

添加timer控件

private void timer1_Tick(object sender, EventArgs e)
{

label1.Left -= 2;
if (label1.Right < 0)
{
label1.Left = this.Width;
}
}
//添加开始滚动按钮 
private void button1_Click(object sender, EventArgs e)
{
timer1.Enabled = true;
}

//停止滚动按钮
private void button2_Click(object sender, EventArgs e)
{
timer1.Enabled = false;
}

也可以直接修改timer的属性,不要然后面两个button