locked
Start WPFApplication from class library RRS feed

  • Question

  • Hi!

    Is it possible to start a WPF application from a class library project?

    In our solution we have a ViewLayer-project (wpf) and a PresentationLayer-project (class library) and we would like the presenter to start up the view. Is this possible?

    Eirin
    Monday, August 18, 2008 7:33 AM

Answers

  • Why can't ?????
     You can start a wpf app in many ways .
    1)use Process.Start  
    2)Add references of your wpf project , and then call the ref .
    3)Add the reference ,and the call the wpf window directly.
    4)Call Win32 api to load wpf exe directly.
    • Proposed as answer by Marco Zhou Thursday, August 21, 2008 8:51 AM
    • Unproposed as answer by Marco Zhou Thursday, August 21, 2008 8:51 AM
    • Proposed as answer by Marco Zhou Thursday, August 21, 2008 8:51 AM
    • Marked as answer by Marco Zhou Friday, August 22, 2008 10:19 AM
    Monday, August 18, 2008 8:11 AM