Form2.cs
PHP Code:
public static String LocationX;
public static String LocationY;
private void timer1_Tick(object sender, EventArgs e)
{
LocationX = this.Location.X.ToString();
LocationY = this.Location.Y.ToString();
}
PHP Code:
private void timer1_Tick(object sender, EventArgs e)
{
Point P = new Point(System.Convert.ToInt32(Form2.LocationX) + 303, System.Convert.ToInt32(Form2.LocationY));
this.Location = P;
}
trnks u.






