随笔分类 -  Winform开发

[转]C# WInForm 无框窗体移动
摘要:本文转自:http://hi.baidu.com/yore2003/blog/item/f385df22377156f5d6cae239.html 调用API using System.Runtime.InteropServices; [DllImport("user32.dll")] public static extern bool ReleaseCapture(); ... 阅读全文
posted @ 2008-11-26 14:48 huaiyu 阅读(407) 评论(0) 推荐(0)
[转]C# WinForm 关于窗体最大化时的是否全屏效果与是否遮盖任务栏
摘要:本文转自:http://www.cnblogs.com/freeliver54/archive/2008/11/22/1338877.html0.新建窗体 及添加按钮 1. 执行如下按钮事件 private void btnFormMax_Click(object sender, EventArgs e) { if (this.WindowState == FormWindowSta... 阅读全文
posted @ 2008-11-26 14:46 huaiyu 阅读(1646) 评论(0) 推荐(0)