Здравствуйте, HexenMaster, Вы писали:
HM>Assembly нужен для инициализации статических ResourceManager.
HM>Сейчас сделано так:
HM>HM>class Res
HM>{
HM> struct tmpType{}
HM> static tmpType tmp;
HM> static Assembly assembly = tmp.GetType().Assembly;
HM> static ResourceManager resTmp = new ResourceManager("ResTmpName", assembly);
HM>}
HM>
HM>Можно ли это сделать без временной структуры?
static ResourceManager resTmp = new ResourceManager("ResTmpName", MethodBase.GetCurrentMethod().DeclaringType.Assembly);