cannot add event procedure

P

peter shaw

Hi,

I got an error message after I created a new event procedure for a grid
control. But I can write a new procedure without any problem.

The error is
Microsoft.Practices.CompositeUI.Services.ModuleLoadException was unhandled
Message="Failed to load module from assembly
f788cd0a-5bc6-4b44-892e-979c1283117e. Error was:\r\nFailed to load module
from assembly DocumentManagement, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null. Error was:\r\nException has been thrown by the target
of an invocation."
Source="Infrastructure.Library"


Thanks
 
L

Lloyd Dupont

It's porbably because you called it from a subclass:

EventHandler thingHappened;
public event EventHandler ThingHappened
{
add { thingHappened += value; }
remove { thingHappened -= value; }
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top