I am new to WPF. In winforms I used to create a presenter and new it up in the static main(). The presenter's constructor would be given a reference to to the main form before the form would be shown.
MainPresenter presenter = new MainPresenter(myform);
Application.Start(myform);
How can I do this in WPF? I noticed that App.xaml has a 'StartUri' property that specifies which form to load. Where is the main entry point to a WPF application and how do I change the default behavior here?
Thanks!