开发者

Winform dialog: detect begin and end of move

I would like to detect when a winform starts being dragged and when this stops.

The reason is quite easy: I would like to offer a Ctrl+Z function that sets the window back to its original position, and I need obviusly to store when move starts and ends

Are there any possibilities to do this?

Update 1: I found how to detect sto开发者_开发百科p dragging: C# Form Move Stopped Event

I would like to detect START dragging now


As mentioned in your linked article:

Form.ResizeBegin and Form.ResizeEnd events handle what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜