AfterLoad事件
Dim tab As WinForm.TabControl = e.form.controls("TabControl1")If user.Name = "开发者" Then
tab.TabPages("G").Visible = true
Else
tab.TabPages("G").Visible = false
End If