Getting out of an event handler

H

hayrob

I have created as instance of Word from a Windows Form.
When Word is visible, I have an event handler for the WindowsRightClickEvent. I would like to return control to the calling Form, and close Word. But I can't.

Of course, I can allow the user to close Word, and reestablish control from the DocumentBeforeClosing event!

Any suggestions.
 

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