Previewing documents (Word, Excel, PDF, text file, etc) within C# WinForms?
问题 I am developing a C# WinForms application, and I would like to be able to "preview" various document types within it. That is, when a user selects a filename from a list, it shows below, within the same form, a preview of the selected file. It's a lot like they way Outlook allows you to preview a selected message without double-clicking. Is there any way to take just a filename and create a control dynamically within my WinForms application that shows the contents of that file? 回答1: If you