Resource.dll源码
using System;
using System.Collections.Generic;
using System.Text;
namespace Resource
{
public class ResourceDll
{
public ResourceDll()
{
}
public System.IO.Stream ReturnStream(string strImageName)
{
return this.GetType().Assembly.GetManifestResourceStream(strImageName);
}
}
}
=========================================================================
调用的部分代码
...
using Resource;
...
private ResourceDll resDll;
publi