|
|
1
3
|
|
|
2
0
您只需要覆盖OnMouseDown/OnMouseMove/OnMouseUp。这三种方法提供移动窗体的鼠标事件。 按下鼠标时,只需跟踪鼠标位置。在移动事件中,使用鼠标移动窗体,释放鼠标后,停止“移动”。 |