Mar 7, 2011 at 2:09 PM
Edited Mar 7, 2011 at 2:11 PM
While I was looking to see if I can capture when the User closes the application with the Red X or ALT F4 I was walking through the code and found in the Proctected sub CloseView()
the VIEW segment would have this message
"Infrastructure.Interface.Presenter`1' was used with the wrong number of generic arguments in assembly"
The application seems to work fine but I'm concerned that this may be an issue that may come back later and haunt me, any suggestions?
Also If anyone knows how I can caputre the closing of the application from both the OnFileExit and the Red X so I can check for dirty data prior to closing the appication that would be helpful.
Sorry I should mention that I'm using GP 2008.
As IWorkspace = locator.FindContainingWorkspace(WorkItem, View)