public MainWindow() { InitializeComponent(); var eegExampleViewModel = new EEGExampleViewModel(); EEGView.DataContext = eegExampleViewModel; eegExampleViewModel.OnExampleEnter(); }
public void ShowEcgView() { /* * var viewModel = new ECGMonitorViewModel(); * EcgView.DataContext = viewModel; * viewModel.OnExampleEnter(); */ var eegExampleViewModel = new EEGExampleViewModel(); EEGView.DataContext = eegExampleViewModel; eegExampleViewModel.OnExampleEnter(); }