private void Application_Startup(object sender, StartupEventArgs e) { MainVewModel mainVewModel = new MainVewModel(); var w = new MainWindow(); w.DataContext = mainVewModel; w.Show(); }
public InstanceLocator() { Main = MainVewModel.GetInstance; }
public InstanceLocator() { this.Main = new MainVewModel(); }