Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   moving labels across screen (http://www.go4expert.com/forums/moving-labels-screen-t25890/)

stefancomiskey 25May2011 01:12

moving labels across screen

I am new to c# programming and am trying to make a label go across the screen and then do it again, I have got it to move from the right side to the left side but then i get stuck.
this is the code that i have so far

label.left -= 5;

if (label.left <= -width)
Label.left = width;

if anyone can help me that would be great

thank you for you stime.

All times are GMT +5.5. The time now is 20:49.