I'm new to c#.
I've developed a generic collection of custom objects that use custom event arguments when raising events.
I've shown the collection in a datagridview on a usercontrol and whenever the usercontrol.dispose method is called I get an exception if there are items in the collection.
The message is
Object of type 'System.EventHandler' cannot be converted to type 'CustomDelegate'.
Anyone offer any advice?
I've developed a generic collection of custom objects that use custom event arguments when raising events.
I've shown the collection in a datagridview on a usercontrol and whenever the usercontrol.dispose method is called I get an exception if there are items in the collection.
The message is
Object of type 'System.EventHandler' cannot be converted to type 'CustomDelegate'.
Anyone offer any advice?