摘要: 调用API using System.Runtime.InteropServices; [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 const 阅读全文
posted @ 2014-04-11 19:48 偶尔会寂寞 阅读(105) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace 窗体翻转{ public partial class Form1 : Form { //导入user32.dll [System.... 阅读全文
posted @ 2014-04-11 19:24 偶尔会寂寞 阅读(170) 评论(0) 推荐(0) 编辑