04 2012 档案

摘要:要移动窗体,需要在窗体的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 阅读(638) 评论(0) 推荐(0)
摘要:C#窗体编程 阅读全文
posted @ 2012-04-11 12:30 teyond 阅读(224) 评论(0) 推荐(0)