Hi
Just a sample :-
Timer _timer = new Timer();
int _xfinal = 250;
private void btnStart_Click(object sender, EventArgs e)
{
_timer.Interval = 100;
_timer.Tick += _timer_Tick;
_timer.Enabled = true;
_timer.Start();
}
void _timer_Tick(object sender, EventArgs e)
{
MoveObject();
}
private void MoveObject()
{
int x = lblGO.Location.X;
int y = lblGO.Location.Y;
lblGO.Location = new Point(x + 1, y);
if (x == _xfinal) _timer.Stop();
}
Regards
Dominic Abraham