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