public CrashWindow(Window owner, CrashWindowViewModel viewModel)
 {
     this.Owner = owner;
       this.viewModel = viewModel;
       InitializeComponent();
       DataContext = viewModel;
       Loaded += HandleLoaded;
 }
Exemple #2
0
 public CrashWindow(Window owner, CrashWindowViewModel viewModel)
 {
     this.Owner     = owner;
     this.viewModel = viewModel;
     InitializeComponent();
     DataContext = viewModel;
     Loaded     += HandleLoaded;
 }