public MainWindow(MainWindowView view) { InitializeComponent(); view.Load(); this.DataContext = view; }