摘要: using System;using System.Collections.Generic;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Diagnostics;using System.Reflection;namespace AppLed{ static class Program { //防止程序运行多个实例的方法有多种,如:通过使用互斥量和进程名等.而我想要实现的是:在程序运行多个实例时激活的是第一个实例,使其获得焦点,并在前端显示. //主要用到两个API 函数: //Show 阅读全文
posted @ 2012-08-13 09:43 自由精灵 阅读(3094) 评论(0) 推荐(0) 编辑