摘要: 代码均是写在partial class Form1 : Form{}代码块之间View Code [DllImport("user32.dll ")]public static extern bool ReleaseCapture();[DllImport("user32.dll ")]public static extern bool SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);public const int WM_SYSCOMMAND = 0x0112;public cons 阅读全文
posted @ 2012-12-07 00:22 zxin 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 代码均是写在partial class Form1 : Form{}代码块之间View Code const int WS_CLIPCHILDREN = 0x2000000;const int WS_MINIMIZEBOX = 0x20000;const int WS_MAXIMIZEBOX = 0x10000;const int WS_SYSMENU = 0x80000;const int CS_DBLCLKS = 0x8;protected override CreateParams CreateParams{ get { CreateParams cp = ba... 阅读全文
posted @ 2012-12-07 00:16 zxin 阅读(667) 评论(0) 推荐(0) 编辑
摘要: WinForm 窗体圆角、平角(不规则窗体)实现的几种方法,通过OnResize方法或者Point来实现。 阅读全文
posted @ 2012-12-07 00:04 zxin 阅读(2532) 评论(2) 推荐(0) 编辑