问题
I want to embed MS Excel into my wpf C# application within a tabbed view, so that the user can utilise the real MS Excel (not a clone) to manipulate data generated within my application easily.
What is the most effective way to embed Excel / Office applications into your .net application going forward. Is it:
1) Webbrowser
2) ActiveX (commercial or try to fix DSOFramer from 2008)
3) Using SetParent on the window handle of Excel and making it a child window of your application.
来源:https://stackoverflow.com/questions/49387721/what-is-the-best-way-to-embed-excel-in-c-sharp-application