Rename PdfViewerWindow to DocumentViewerWindow

This commit is contained in:
2023-03-05 20:17:15 +01:00
parent a6264d7a64
commit c423a4c951
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<Window x:Class="WGneu.Windows.PdfViewerWindow"
<Window x:Class="WGneu.Windows.DocumentViewerWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

View File

@ -13,8 +13,8 @@ using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace WGneu.Windows {
public partial class PdfViewerWindow : Window {
public PdfViewerWindow(string title, string path) {
public partial class DocumentViewerWindow : Window {
public DocumentViewerWindow(string title, string path) {
InitializeComponent();
Title = Title + " - " + title;
WebView.Source = new("file://" + path);