下面这个代码请解释一下各个参数的含义和作用,不知道为什么我跟模版例子的代码一样,可是我的却会出错呢?
模版代码:
ImageCollection img =
DevExpress.Utils.Controls.ImageHelper.CreateImageCollectionFromResources("DevExpress.XtraGrid.Demos.Images.images16x16.bmp", typeof(frmMain).Assembly, new Size(16, 16));我的代码:
ImageCollection img = 
DevExpress.Utils.Controls.ImageHelper.CreateImageCollectionFromResources("GridMainDemo.Images.images16x16.bmp", typeof(frmMain).Assembly, new Size(16, 16));