Which event captures position change of a Window?
I need some event like the SizeChanged on Main开发者_StackOverflow中文版Window that is activated when the user has changed the position of a window?
Any ideas?
Many Thanks,
I think it is the LocationChanged
event.
LocationChanged?
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.locationchanged.aspx
I believe that .LocationChanged
is the event you are looking for.
How to Find an Event - A Visual Studio Adventure
You can even try RegionChanged event which is similar to LocationChanged
精彩评论