Rename PdfViewerWindow to DocumentViewerWindow
This commit is contained in:
@ -48,7 +48,7 @@ namespace WGneu.Documents {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void Display(string title, string path) {
|
public static void Display(string title, string path) {
|
||||||
var w = new PdfViewerWindow(title, path);
|
var w = new DocumentViewerWindow(title, path);
|
||||||
w.Show();
|
w.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<Compile Update="Windows\DeliveryReceptionWindow.xaml.cs">
|
<Compile Update="Windows\DeliveryReceptionWindow.xaml.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Update="Windows\PdfViewerWindow.xaml.cs">
|
<Compile Update="Windows\DocumentViewerWindow.xaml.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<Page Update="Windows\DeliveryReceptionWindow.xaml">
|
<Page Update="Windows\DeliveryReceptionWindow.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Update="Windows\PdfViewerWindow.xaml">
|
<Page Update="Windows\DocumentViewerWindow.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
</ItemGroup>
|
</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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
@ -13,8 +13,8 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace WGneu.Windows {
|
namespace WGneu.Windows {
|
||||||
public partial class PdfViewerWindow : Window {
|
public partial class DocumentViewerWindow : Window {
|
||||||
public PdfViewerWindow(string title, string path) {
|
public DocumentViewerWindow(string title, string path) {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Title = Title + " - " + title;
|
Title = Title + " - " + title;
|
||||||
WebView.Source = new("file://" + path);
|
WebView.Source = new("file://" + path);
|
Reference in New Issue
Block a user