Change title of DocumentViewerWindow
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
xmlns:local="clr-namespace:Elwig.Windows"
|
||||
mc:Ignorable="d"
|
||||
Closed="OnClosed"
|
||||
Title="PDF Ansicht"
|
||||
Title="PDF Ansicht - Elwig"
|
||||
MinHeight="600" MinWidth="420" Height="750" Width="525">
|
||||
<Grid>
|
||||
<wv2:WebView2 Name="WebView"/>
|
||||
|
@ -9,7 +9,7 @@ namespace Elwig.Windows {
|
||||
|
||||
public DocumentViewerWindow(string title, string path) {
|
||||
InitializeComponent();
|
||||
Title = Title + " - " + title;
|
||||
Title = $"{title} - {Title}";
|
||||
WebView.Source = new($"file://{path}#view=FitH");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user