Rename PdfViewerWindow to DocumentViewerWindow
This commit is contained in:
@ -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"
|
@ -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);
|
Reference in New Issue
Block a user