Foxtable(狐表)用户栏目专家坐堂 → 关于判断副本表的疑问


  共有7038人关注过本帖树形打印复制链接

主题:关于判断副本表的疑问

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


加好友 发短信
等级:管理员 帖子:47479 积分:251266 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2013/3/19 12:52:00 [显示全部帖子]

这么修改一下C版的代码

 

For Each c As WinForm.Control In e.Form.Controls
    If c.Gettype.name = "Table"
        Dim s As String
        Dim t As Table = ctype(c,Winform.Table).Table
        Select Case t.TableType
            Case TableTypeEnum.Normal
                If t.IsCopy Then
                    s = "副本"
                Else
                    s = "标准"
                End If
                MessageBox.Show(s)
        End Select
    End If
Next


 回到顶部