protected override void OnViewLoaded(object view) { base.OnViewLoaded(view); ManualsLogic logic = new ManualsLogic(Settings.ManualFolder); Tree = logic.Tree; // TODO finish this part ShowManualCommand = new RelayCommand <string>(ShowManual, CanUseSelectedFile); OpenFolderCommand = new RelayCommand <string>(OpenFolder, CanUseSelectedFolder); }
public ManualsViewModel() { ManualsLogic logic = new ManualsLogic(Settings.ManualFolder); Tree = logic.Tree; }