以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- BeforeShowErrorMessage (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=114195) |
||||||||
-- 作者:huhu -- 发布时间:2018/1/31 14:09:00 -- BeforeShowErrorMessage If e.Message2.indexof("一般性网络错误") > -1 Then MessageBox.show("又是网络不畅通,要怪就怪公司的破网络吧","提示",MessageBoxButtons.OK,MessageBoxIcon.Information) e.Cancel = True End If If e.Message2.indexof("SQL Server 不存在或拒绝访问") > -1 Then MessageBox.show("由于公司的网络出现间歇性故障,导致与数据库暂时断开,请稍后再试,唉,这个破网络,我都无语了","提示",MessageBoxButtons.OK,MessageBoxIcon.Error) e.Cancel = True End If If e.Message2.indexof("登录超时已过期") > -1 Then MessageBox.show("网络不畅啊,啥破网络,都无力吐槽,请点击确定后稍后再试","提示",MessageBoxButtons.OK,MessageBoxIcon.Error) e.Cancel = True End If 如何做到当弹出message时,过1分钟,自动点击"确定"关闭message?
|
||||||||
-- 作者:有点甜 -- 发布时间:2018/1/31 14:27:00 -- 方法一:
方法二:
|
||||||||
-- 作者:huhu -- 发布时间:2018/2/6 16:52:00 --
|
||||||||
-- 作者:有点甜 -- 发布时间:2018/2/6 18:08:00 -- 参考
|