How are views constructed in Josh Smith's MVVM sample?

Posted by Wim Coenen on Stack Overflow See other posts from Stack Overflow or by Wim Coenen
Published on 2010-03-13T01:39:21Z Indexed on 2010/03/13 1:47 UTC
Read the original article Hit count: 684

Filed under:
|

Being new to both WPF and MVVM, I'm studying Josh Smith's article on the MVVM pattern and the accompanying sample code.

I can see that the application is started in app.xaml.cs by constructing a MainWindow object, wiring it to a MainWindowViewModel object and then showing the main window. So far so good.

However, I can't find any code which instantiates the AllCustomersView or CustomerView classes. Using "find all references" on the constructors of those views comes up with nothing. What am I missing here?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about mvvm