private void LoadFile() { if (!_openFileService.DetermineFile()) { return; } if (_openFileService.File.Extension.ToLower().Equals(".pdf")) { _pdfService.Init(_openFileService.File.FullName); } else { _pdfService.Init(_openFileService.Files .OrderBy(f => f.Name) .Select(f => f.OpenRead()) .ToArray() ); } _characterSheet.SetSheetPreview(); NotifyOfPropertyChange(() => CanExportTemplate); NotifyOfPropertyChange(() => CanImportTemplate); NotifyOfPropertyChange(() => CanSavePdf); //_characterSheet.UpdateFormFields(); ActivateItem(_characterSheet); }