public MainWindowViewModel(MainWindow window, string dataPath) { _window = window; _dataPath = dataPath; // Create View Models _modelViewModel = new ModelViewModel(this); _skeletonViewModel = new SkeletonViewModel(this); _levelViewModel = new LevelViewModel(this); }
public FileTreeViewContextManager(MainWindow window, TreeView treeView) { _window = window; _treeView = treeView; _treeView.ContextMenu = _menu; _treeView.ContextMenuOpening += MenuOnContextMenuOpening; // Setup Menu _saveRawData = AddItem("Save Raw Data", SaveRawDataClicked); _saveParsedVifData = AddItem("Save Parsed Data", SaveParsedDataClicked); _logTexData = AddItem("Log .TEX Data", LogTexDataClicked); }