转自 http://download.csdn.net/detail/xiang348352/3095084
WPF无边框移动窗体,先在<Window>里添加
MouseLeftButtonDown="Window_MouseLeftButtonDown"
然后导航到事件,在事件里添加
if (e.LeftButton == MouseButtonState.Pressed)
this.DragMove();
就可以了,还不懂的话,就下载研究
转自 http://download.csdn.net/detail/xiang348352/3095084
WPF无边框移动窗体,先在<Window>里添加
MouseLeftButtonDown="Window_MouseLeftButtonDown"
然后导航到事件,在事件里添加
if (e.LeftButton == MouseButtonState.Pressed)
this.DragMove();
就可以了,还不懂的话,就下载研究