Example #1
0
 public MainWindow()
 {
     MyDispatcher = new LocklessLazyWriteOnce <Dispatcher>(() => Dispatcher.CurrentDispatcher);
     InitializeComponent();
 }
 public MainWindow()
 {
     InitializeComponent();
     _stressSimFactory       = new LocklessLazyWriteOnce <StressSimulationFactory>(InitStressSimulationFactory);
     btnInitialize.IsEnabled = true;
 }