public MainWindow() { InitializeComponent(); // Init idevmViewModelIDE = new IDEViewModel(); infoViewModel = new InfoViewModel(DatabaseTableValues); _mainwindowviewmodel = new MainWindowViewModel(pgbStyresystem); ViewModelIntellisense = new IntellisenseViewModel(); // Data context tabIDE.DataContext = idevmViewModelIDE; tabInfo.DataContext = infoViewModel; pgbStyresystem.DataContext = _mainwindowviewmodel; list.DataContext = ViewModelIntellisense.UpdatedCollection; }
public void setup() { idevmTestObj = new IDEViewModel(); }