以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 简单改造编辑器 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=146471) |
-- 作者:2900819580 -- 发布时间:2020/2/24 17:21:00 -- 简单改造编辑器 http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=26226&skin=0 跟着以上的实例,并修改了相关的一些代码,介理界面还是没有显示 BtnNotepadEdit 按钮,还出现以下错误!
.NET Framework 版本:4.0.30319.42000
做个以下调试 Dim BtnFind As system.Windows.Forms.Button = frmCodeEditor.Controls("Button4")MessageBox.Show(btnfind.left)
MessageBox窗体没有任何弹出,错误如上蓝色字提示!
整个项目只有以下代码
Dim frmCodeEditor As system.Windows.Forms.Form = system.Windows.Forms.Form.ActiveForm If frmCodeEditor.Controls("BtnNotepadEdit") IsNot Nothing Then Return Dim BtnNotepadEdit As New system.Windows.Forms.Button [此贴子已经被作者于2020/2/24 17:21:29编辑过]
|
-- 作者:有点蓝 -- 发布时间:2020/2/24 17:25:00 -- 这个方法现在已经不适用。官方也不支持这种用法。 |