Show about button
This commit is contained in:
@@ -155,6 +155,11 @@ class MainViewModel : BaseViewModel, IFontResolver
|
||||
}
|
||||
}
|
||||
|
||||
public void ShowAbout()
|
||||
{
|
||||
DialogHost.Show(new AboutViewModel());
|
||||
}
|
||||
|
||||
public void RemoveFile(object f) => RemoveFileImpl((ReportFile)f);
|
||||
|
||||
public async void RemoveFileImpl(ReportFile file)
|
||||
@@ -567,6 +572,5 @@ class MainViewModel : BaseViewModel, IFontResolver
|
||||
LogInfo("Saved PDF output to: " + outputPDFFileName);
|
||||
await CreateAndSaveReportObjectAfterReportCreation();
|
||||
IsCreatingPDF = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,13 @@
|
||||
x:DataType="vm:MainViewModel">
|
||||
<Grid ColumnDefinitions="*"
|
||||
RowDefinitions="Auto, 2*, Auto, Auto, *">
|
||||
<Button Command="{Binding ShowAbout}"
|
||||
Grid.Row="0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,2,4,0">
|
||||
<TextBlock><Run Text="" FontFamily="{StaticResource FontAwesomeSolid}"/> About</TextBlock>
|
||||
</Button>
|
||||
<StackPanel Orientation="Vertical"
|
||||
Spacing="2">
|
||||
<Label Content="Easy Receipt Folder -> PDF Builder"
|
||||
|
||||
Reference in New Issue
Block a user