public Form1() { InitializeComponent(); var wizardView = new WizardViewWidget(); var secondPage = new PageExample(null, "second page"); var firstPage = new PageExample(secondPage, "first page"); var localInstancePage = new LocalServerPickerPage(new LocalServerPickerWidget(), firstPage, new TestConnection(), new GetLocalInstances()); var introPage = new IntroPageViewModel(new IntroPageWidget(), localInstancePage); new WizardViewModel(wizardView, introPage, cancel, cancel); Controls.Add(wizardView); }