以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 启动项目,出现以下问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=172249) |
-- 作者:lyfxybc -- 发布时间:2021/10/2 15:10:00 -- 启动项目,出现以下问题 The type initializer for \'UserCode\' threw an exception. Image added to an ImageList must either derive from Image or be an Icon. |
-- 作者:有点蓝 -- 发布时间:2021/10/4 21:24:00 -- 提示代码里添加的图标文件不正确,必须是Icon类型的图标文件(扩展名为.ico),不能是其它类型的图标,这种常见于按钮、目录树等等控件。检查一下全局代码,项目属性里的事件等 |