private void Open(string path) { if (string.IsNullOrEmpty(path)) { return; } var doc = new PdfDocumentViewModel(_dialogService); doc.Open(path); Documents.Add(doc); CurrentPdfDocument = doc; }
private void Open(string path) { if(string.IsNullOrEmpty(path)) return; var doc = new PdfDocumentViewModel(_dialogService); doc.Open(path); Documents.Add(doc); CurrentPdfDocument = doc; }