PDF Viewer hosting forms hugging control after closing

懵懂的女人 提交于 2019-12-08 13:58:25

I was able to track down the issue to the actual PDFViewer control. When Adobe Reader DC is installed, and if PDFViewer control has Focus, the form will have trouble closing. I added FormClosing event handler and added some code to assign Focus to a control other than PDFViewer and then I also disposed of PDFViewer instance. Worked like a charm.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!