protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); SimpleView app = new SimpleView(); ViewModel context = new ViewModel(); app.DataContext = context; app.Show(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); SimpleView app = new SimpleView(); ViewModel context = new ViewModel(); app.DataContext = context; app.Show(); }