private void timer1_Tick(object sender, EventArgs e) { if (lblScroll.Left >= Convert.ToInt32(this.ClientRectangle.Right)) { lblScroll.Left = this.ClientRectangle.Left - lblScroll.Left; } else { lblScroll.Left += 4; } }
No comments:
Post a Comment