Foxtable(狐表)用户栏目专家坐堂 → 1.发布后的软件提示已运行;2.循环播放录音文件


  共有1835人关注过本帖平板打印复制链接

主题:1.发布后的软件提示已运行;2.循环播放录音文件

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2018/3/14 11:11:00 [只看该作者]

1、beforeOpenProject事件

 

static mu As object
Dim sucess As Boolean = False
mu = new System.Threading.Mutex(True, "dsdfhdfghf", sucess)
If not sucess Then
    MessageBox.Show("程序已经在运行,不能重复打开!", "提示",MessageBoxButtons.Ok,MessageBoxIcon.Warning,0, Windows.forms.MessageBoxOptions.ServiceNotification)
    e.Cancel = True
End If


 回到顶部