摘要: struct GetDeviceCapsIndex { public static readonly int DRIVERVERSION = 0; public static readonly int HORZSIZE = 4; public static readonly int VERTSIZE = 6; public static readonly int HORZRES = 8; public static readonly int VERTRES = 10; ... 阅读全文
posted @ 2013-12-19 14:10 bk.lling 阅读(736) 评论(0) 推荐(0)
摘要: 控件置顶:控件名.BringToFront();控件置底:控件名.SendToBack(); 阅读全文
posted @ 2013-12-19 14:08 bk.lling 阅读(2981) 评论(0) 推荐(0)
摘要: #region 获取windows桌面背景 [System.Runtime.InteropServices.DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto, SetLastError = true)] public static extern int SystemParametersInfo(int uAction, int uParam, StringBuilder lpvParam, int fuWinIni);private const int SPI_GETD 阅读全文
posted @ 2013-12-19 13:08 bk.lling 阅读(882) 评论(0) 推荐(0)