btnSmaller.Image = new Bitmap(GetType(), "BitmapButtons.Smaller.Button.bmp");//btnSmaller是按钮
书上有段代码,上面是其中一行。我用的是VS2008,右击项目名称,“添加”菜单项里没有添加资源的选项,怎么办?
------解决思路----------------------
2008应该也是这样子的啊,可惜我这里没有2008吗,但资源文件也是可以新增的

btnSmaller.Image = new Bitmap(GetType(), "BitmapButtons.Smaller.Button.bmp");//btnSmaller是按钮