开发者

Which event captures position change of a Window?

开发者 https://www.devze.com 2023-03-11 02:14 出处:网络
I need some event like the SizeChanged on Main开发者_StackOverflow中文版Window that is activated when the user has changed the position 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

Which event captures position change of a Window?

Which event captures position change of a Window?


You can even try RegionChanged event which is similar to LocationChanged

0

精彩评论

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

关注公众号