/// <summary> /// Загрузить из ворда /// </summary> public void LoadFromDocument() { if (_diskPath.GetPath("LoadDocument")) { DocumentViewModel model = new DocumentViewModel(); model.Load(_diskPath.Path); Views.DocumentView view = new Views.DocumentView { DataContext = model }; if (view.ShowDialog() == true) { model.Build(Properties); NotifyOfPropertyChange(nameof(CanWriteResourses)); _aggregator.PublishOnUIThread("[Инфо]:Загруженно ТЗ"); } } else { _aggregator.PublishOnUIThread("[Инфо]:Не выбран документ"); } }