Rename PdfViewerWindow to DocumentViewerWindow
This commit is contained in:
@ -48,7 +48,7 @@ namespace WGneu.Documents {
|
||||
}
|
||||
|
||||
public static void Display(string title, string path) {
|
||||
var w = new PdfViewerWindow(title, path);
|
||||
var w = new DocumentViewerWindow(title, path);
|
||||
w.Show();
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
<Compile Update="Windows\DeliveryReceptionWindow.xaml.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Update="Windows\PdfViewerWindow.xaml.cs">
|
||||
<Compile Update="Windows\DocumentViewerWindow.xaml.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
@ -27,7 +27,7 @@
|
||||
<Page Update="Windows\DeliveryReceptionWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Update="Windows\PdfViewerWindow.xaml">
|
||||
<Page Update="Windows\DocumentViewerWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
|
@ -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