1

I would like to run a shell window manager kiosk-style WPF app that is full screen and contains in it other WPF apps.

Each WPF app is a project of it's own in my VS solution, what are the best practices for loading an instance of the other apps into my shell app and (preferably) confine them to certain bounds within the window manager.

4

1 に答える 1

1

私はあなたのデザインを再考しようとします。

「他の WPF アプリケーション」をロードしようとする代わりに、他のアセンブリ (プロジェクト/ソリューション) から Windows をロードする方がはるかに簡単です。

このような拡張性は、フレームワークに組み込まれているMEFを介してかなり簡単に実現できます。これにより、メイン アプリケーションに動的にロードできるコントラクトを定義し、必要に応じて機能を構築するために使用できます。

于 2012-02-16T18:39:57.600 に答える