以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  判断项目是否已经打开,如果已经打开,不能重复打开,反之就打开项目……  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=177351)

--  作者:cnsjroom
--  发布时间:2022/5/18 17:57:00
--  判断项目是否已经打开,如果已经打开,不能重复打开,反之就打开项目……

判断项目是否已经打开,如果已经打开,不能重复打开,反之就打开项目……

红色部分该怎么理解呢?是项目名称?还是项目定义的标题内容?

全局代码:

Public mu As System.Threading.Mutex

 

BeforeOpenProject事件:

Dim sucess As Boolean = False
mu = new System.Threading.Mutex(True, "dsdfhdfghf", sucess)
If not sucess Then
    MessageBox.Show("只能打开一次!")
    e.Cancel = True
End If


--  作者:有点蓝
--  发布时间:2022/5/19 8:22:00
--  
随便一个字符串
--  作者:cnsjroom
--  发布时间:2022/5/19 9:38:00
--  回复:(有点蓝)随便一个字符串

是项目定义标题的任意字符么?