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.
精彩评论