会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
[苏愿的小院子]
愿你出走半生,归来仍是少年
博客园
首页
新随笔
联系
订阅
管理
2009年2月16日
如何控制winform程序只能打开一个呢?
摘要: 最傻瓜式的把这段替换MAIN方法就好了 static void Main() { if(System.Diagnostics.Process.GetProcessesByName(System.Diagnostics.Process.GetCurrentProcess().ProcessName).Length>1) { } ...
阅读全文
posted @ 2009-02-16 12:18 二地主
阅读(458)
评论(0)
推荐(0)
编辑