原2018年版本及之前版本
Dim frm As System.Windows.Forms.Form = System.Windows.Forms.Form.ActiveForm
这样使用是可以,但升级到2019版最新版本后此功能不再支持了 要如何调整代码及用法 。