下面这个代码请解释一下各个参数的含义和作用,不知道为什么我跟模版例子的代码一样,可是我的却会出错呢?
模版代码:
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));
模版代码:
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));
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货