摘要:
首先在窗体内部定义需要调用的windows api 以及参数 [DllImport("user32.dll")] public static extern bool ReleaseCapture(); [DllImport("user32.dll")] public static extern bo 阅读全文
摘要:
在program的mian方法中添加如下代码: static void Main() { bool started = true; using (new Mutex(true, Assembly.GetExecutingAssembly().FullName, out started)) { if 阅读全文