protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     //compose (and activate?) application ui
     var mainWindow = new MainWindow(new MainWindowViewModel(_app));
     //activate application ui
     mainWindow.Show();
 }
示例#2
0
 public App()
 {
     MainWindow = new MainWindow();
 }