Show about button
This commit is contained in:
@@ -154,6 +154,11 @@ class MainViewModel : BaseViewModel, IFontResolver
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ShowAbout()
|
||||||
|
{
|
||||||
|
DialogHost.Show(new AboutViewModel());
|
||||||
|
}
|
||||||
|
|
||||||
public void RemoveFile(object f) => RemoveFileImpl((ReportFile)f);
|
public void RemoveFile(object f) => RemoveFileImpl((ReportFile)f);
|
||||||
|
|
||||||
@@ -567,6 +572,5 @@ class MainViewModel : BaseViewModel, IFontResolver
|
|||||||
LogInfo("Saved PDF output to: " + outputPDFFileName);
|
LogInfo("Saved PDF output to: " + outputPDFFileName);
|
||||||
await CreateAndSaveReportObjectAfterReportCreation();
|
await CreateAndSaveReportObjectAfterReportCreation();
|
||||||
IsCreatingPDF = false;
|
IsCreatingPDF = false;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11,6 +11,13 @@
|
|||||||
x:DataType="vm:MainViewModel">
|
x:DataType="vm:MainViewModel">
|
||||||
<Grid ColumnDefinitions="*"
|
<Grid ColumnDefinitions="*"
|
||||||
RowDefinitions="Auto, 2*, Auto, Auto, *">
|
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"
|
<StackPanel Orientation="Vertical"
|
||||||
Spacing="2">
|
Spacing="2">
|
||||||
<Label Content="Easy Receipt Folder -> PDF Builder"
|
<Label Content="Easy Receipt Folder -> PDF Builder"
|
||||||
|
|||||||
Reference in New Issue
Block a user