摘要:
当不应用程序框架时,可以通过定义互斥变量来判断是否已运行实例: 1 Sub Main()2 Dim isNotRunning As Boolean = True3 Static run As New System.Threading.Mutex(True, "SampleForm... 阅读全文
posted @ 2013-02-22 22:02 cyberazor 阅读(1740) 评论(1) 推荐(0)
|
摘要:
当不应用程序框架时,可以通过定义互斥变量来判断是否已运行实例: 1 Sub Main()2 Dim isNotRunning As Boolean = True3 Static run As New System.Threading.Mutex(True, "SampleForm... 阅读全文
posted @ 2013-02-22 22:02 cyberazor 阅读(1740) 评论(1) 推荐(0) |
||