摘要: winform窗体的样式很单一,不够漂亮,往往我们需要对窗体进行重写,但是我们又要保留在重写前窗体本身带的功能,例如拖动窗体的头进行移动之类的。一下方式可以实现该方法: [DllImport("user32")] public static extern int ReleaseCapture(); [DllImport("user32")] public static extern int SendMessage(IntPtr hwnd, int msg, int wp, int lp); /// /// 是... 阅读全文
posted @ 2014-01-07 09:59 古兰色回忆 阅读(2671) 评论(0) 推荐(1) 编辑