if (mode == "LR")
{
if (this.Width == xPos)
{
this.label47.Location = new System.Drawing.Point(0, YPos);
xPos = 0;
}
else
{
this.label47.Location = new System.Drawing.Point(xPos, YPos);
xPos += 6;
}
if (xPos == 686)
{
mode = "RL";
}
}
else if (mode == "RL")
{
if (xPos == 0)
{
this.label47.Location = new System.Drawing.Point(this.Width, YPos);
xPos = this.Width;
}
else
{
this.label47.Location = new System.Drawing.Point(xPos, YPos);
xPos -= 6;
}
if (xPos == -4)
{
mode = "LR";
}
}