标签 1:
lblLeftToRight.Location = new Point(lblLeftToRight.Location.X + 10, lblLeftToRight.Location.Y);
标签 2:
lblLeftToRight.Location = new Point(lblLeftToRight.Location.X - 10, lblLeftToRight.Location.Y);
通过使用timer
和Point
结构,我正在移动 label1 和 label2。我想在两个标签相互联系时发出一条消息。