Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();
            var eegExampleViewModel = new EEGExampleViewModel();

            EEGView.DataContext = eegExampleViewModel;
            eegExampleViewModel.OnExampleEnter();
        }
Esempio n. 2
0
        public void ShowEcgView()
        {
            /*
             * var viewModel = new ECGMonitorViewModel();
             * EcgView.DataContext = viewModel;
             * viewModel.OnExampleEnter();
             */
            var eegExampleViewModel = new EEGExampleViewModel();

            EEGView.DataContext = eegExampleViewModel;
            eegExampleViewModel.OnExampleEnter();
        }