Exemple #1
0
        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);
        }
Exemple #2
0
        public ManualsViewModel()
        {
            ManualsLogic logic = new ManualsLogic(Settings.ManualFolder);

            Tree = logic.Tree;
        }