Dim dr1 As DataRow = DataTables("授权表").Find("',' + 分组名 + ',' like '%," & _UserGroup & ",%' And 窗口 = '" & e. Form.Name & "'")
Dim ctls() As String = dr1("控件").split("控件字段的分隔符")
For Each c As String In ctls
e.Form.Controls(c).Visible = Not dr1("不可见")
e.Form.Controls(c).Enabled = Not dr1("不可编辑")
End If