public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { if (this.iImageList != null) { Marshal.ReleaseComObject(this.iImageList); } this.iImageList = null; } } this.disposed = true; }
private static extern int SHGetImageList(int iImageList, ref Guid riid, ref SysImageList.IImageList ppv);