private void Main_Load(object sender, EventArgs e)
{
label1.Left=this.Widh;
}
private void timer1_Tick(object sender, EventArgs e)
{
label1.Left -= 4; //在这修改移动幅度,移动频率要修改timer的Interval
if (label1.Right<=0)
{
label1.Left = this.Width;
}
}
.Winform滚动字幕
最新推荐文章于 2024-04-19 23:25:52 发布