Ejemplo n.º 1
0
        private bool OpenFileInternal(string path, string filename, string ext)
        {
            if (_slideCollection != null)
            {
                CloseFileInternal();
            }
            SetFilename(path, filename, ext);
            _slideCollection =
                _storeController.RestoreSlideCollection(
                    CreateFullFilename(),
                    CodeFlowViewModel.Instance.HistoryController
                    );
            var slide = _slideCollection.GetFirstOrNew();

            CodeFlowViewModel.Instance.SetCurrentSlide((SlideView)ViewFactory.Instance.GetHierarchy(slide));
            return(true);
        }