It is very simple to use:
Initialize the coupling one:
Code: Select all
ViewFactory.AddCouple( TypeOf( ViewModel2 ), TypeOf( View2 ) )
Code: Select all
ViewFactory.CreateView( typeOf( ViewModel2 ) )
Please find attached the complete sample as XIDE export file.
As I wrote before, my work is a work in progress and far from being finished - I only try to write understandable and working code, so you will not find any dependency on some MVVM frameworks.
Of course, I'm always open to suggestions or corrections.
Wolfgang