开发者

reflector and importing resources

I am using reflector to disassemble on of my companys projects so that one of our departments can speak to our headquarters in germany intellegently. I have successfully completeted my task other than the following issue.

whenever a resource image or anything referring to the manager

ComponentResourceManager manager = new ComponentResourceManager(typeof(PalletPl开发者_高级运维acesUserControl));

is executed

this.cmdSpreading.Image = (Image) manager.GetObject("cmdSpreading.Image");

i end up with an error because manager is null.


If you use Red Gate's .NET Reflector, you can call a file-save as C# project, and that builds a Visual Studio project that will compile and run (if it is an executable) just like the normal code would, plus you can edit the code there. I would try that first and see what happens.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜