在项目事件BeforeOpenProject中写有以下公式;对项目的使用期限进行限制。如果我希望将红色字体的内容更改为来源于:“系统使用权限日期表”中‘系统权限日期’列的第一行日期。命令该怎么改?
If Date.Today > new Date(2016, 12, 31) Then '如果电脑日期大于 ****日期
e.Cancel = True '拒绝打开项目
e.HideSplashForm = True '关闭Foxtable的启动封面
MessageBox.Show("该系统超过授权使用期限,请与开发者联系", "未授权提示",MessageBoxButtons.Ok,MessageBoxIcon.Warning,0, Windows.forms.MessageBoxOptions.ServiceNotification) '弹出提示窗口
End If
End If
此主题相关图片如下:360截图20150601141315810.jpg