第2个回答 2010-11-03
private void button1_Click(object sender, EventArgs e)
{
int x = 300;
int y = 200; //指定移动的位置
for (int i = 0; i < 100; i++)
{
pictureBox1.Location = new Point(pictureBox1.Location.X + x/100, pictureBox1.Location.Y + y/100);
System.Threading.Thread.Sleep(100);
}
}本回答被提问者采纳