Foxtable(狐表)用户栏目专家坐堂 → 请问如何保证窗口全部打开之前 后续的点击无效啊


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

主题:请问如何保证窗口全部打开之前 后续的点击无效啊

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


加好友 发短信
等级:小狐 帖子:392 积分:3026 威望:0 精华:0 注册:2014/9/20 23:56:00
请问如何保证窗口全部打开之前 后续的点击无效啊  发帖心情 Post By:2015/3/29 15:08:00 [只看该作者]

请问如何保证窗口全部打开之前 按钮后续的点击无效啊

如果快速点击tile 就会报一些表加载错误什么的 但是一次点击就都正常



'Tile点击事件
Public Sub Tile_Click(sender As System.Object, ByVal e As System.EventArgs)
Select Case sender.text
    Case "客户资料"
        If UserPrivilege.Contains("010000") Then
            Forms("CustInfo").Show
        Else
            MessageBox.show("无权限!","系统提示",MessageBoxButtons.OK, MessageBoxIcon.Information)
        End If
    Case "销售日报"
        If UserPrivilege.Contains("010202") Then
            Functions.Execute("CRM_Stats_DailyPaperTemptbl")
            Forms("CustDailyPaper").Show
        Else
            MessageBox.show("无权限!","系统提示",MessageBoxButtons.OK, MessageBoxIcon.Information)
        End If
    Case Else
        MessageBox.Show(sender.text & "正在建设中...")
End Select
End Sub

 回到顶部