Пример #1
0
 public Model(ViewModel xViewModel)
 {
     _DateTimeToStopwatchTickRatio = MicroTimer.getDateTimeToStopwatchTickRatio();
     _ViewModel = xViewModel;
     StartTimer(cNumTriggers);
 } // constructor
        } // constructor

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            _ViewModel = new ViewModel(this);
            DataContext = _ViewModel;
            _Model = new Model(_ViewModel);
        } //