The type or namespace name 'Bitmap' could not be found (are you missing a using directive or an asse
代码中加入了名称空间提示符 using System.Drawing,但是 使用 Bitmap 类型 依然报 文章标题 中的错误。
解决方法:其实 project 并没有加入 System.Drawing 的汇编代码,手动右键你的 project 的 add -> add reference,选择 System.Drawing,打钩 添加即可。
原创
2015-12-25 15:11:36 ·
2140 阅读 ·
0 评论