If Syscmd.Project.Update(False,False) = True Then '如果已升级 Application.ReStart '重新启动项目 Else If Syscmd.Project.Update(False,True) = False Then '如果没有升级 Forms("主窗口").Open() If User.Type <> UserTypeEnum.Developer TableCaptionVisible = False End If End If End If