摘要:
要移动窗体,需要在窗体的MouseDown事件中添加如下代码: void Window1_MouseDown(object sender, MouseButtonEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed) { DragMove(); } }<Window x:Class="welcome.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http 阅读全文
posted @ 2012-04-18 12:50
teyond
阅读(634)
评论(0)
推荐(0)

浙公网安备 33010602011771号