标签:滚动文字

C# 实现文字滚动
编程开发

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, Event...

逍遥乐