private void myMove()
{
label2.Left = label2.Left + 20;
//当标签移除画面,重新复位
if (label2.Left > this.Width)
{
label2.Left = -this.Width;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
myMove();
}
原文:http://www.cnblogs.com/-slient/p/5116734.html