摘要: 在WindowsForm 应用程序中,有时我们会将窗体的FormBorderStyle属性设置为none,这时,用鼠标拖拽窗体时就无法实现移动的功能了!你是否也遇到过这种情况?不要着急,下面就是解决方案.在FormBordeStyle属性设置为none的窗体的后台代码中添加以下代码: [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bool SendMessage(I.. 阅读全文
posted @ 2011-10-25 16:48 Regen 阅读(4925) 评论(5) 推荐(1) 编辑