Index: Application/Riskeer/src/Application.Riskeer/App.xaml.cs
===================================================================
diff -u -r3d6aad47be3f748d53f27c5164595e8049c03f8d -rf257390d4843bdb890c6a7a88ef326e336cadd55
--- Application/Riskeer/src/Application.Riskeer/App.xaml.cs (.../App.xaml.cs) (revision 3d6aad47be3f748d53f27c5164595e8049c03f8d)
+++ Application/Riskeer/src/Application.Riskeer/App.xaml.cs (.../App.xaml.cs) (revision f257390d4843bdb890c6a7a88ef326e336cadd55)
@@ -32,6 +32,7 @@
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Forms;
+using System.Windows.Media.Imaging;
using Core.Common.Util;
using Core.Common.Util.Settings;
using Core.Gui;
@@ -111,7 +112,8 @@
SupportText = ApplicationResources.SupportText,
SupportWebsiteAddressUrl = "https://iplo.nl/contact/",
SupportPhoneNumber = "088-7970790",
- ManualFilePath = "Gebruikershandleiding Riskeer 21.1.1.pdf"
+ ManualFilePath = "Gebruikershandleiding Riskeer 21.1.1.pdf",
+ MadeByBitmapImage = new BitmapImage(new Uri("pack://application:,,,/Resources/MadeBy.png"))
};
var mainWindow = new MainWindow();
Index: Core/Gui/src/Core.Gui/Forms/Backstage/AboutViewModel.cs
===================================================================
diff -u -r73e942de3fe048d11e3abd2fc8024b4cfeb56f29 -rf257390d4843bdb890c6a7a88ef326e336cadd55
--- Core/Gui/src/Core.Gui/Forms/Backstage/AboutViewModel.cs (.../AboutViewModel.cs) (revision 73e942de3fe048d11e3abd2fc8024b4cfeb56f29)
+++ Core/Gui/src/Core.Gui/Forms/Backstage/AboutViewModel.cs (.../AboutViewModel.cs) (revision f257390d4843bdb890c6a7a88ef326e336cadd55)
@@ -116,7 +116,7 @@
///
/// Gets the made by bitmap image.
///
- public BitmapImage MadeByBitmapImage => new BitmapImage(new Uri("pack://application:,,,/Core.Common.Controls;component/Resources/MadeBy.png"));
+ public BitmapImage MadeByBitmapImage => settings.MadeByBitmapImage;
private static object GetManagementObjectProperty(string managementObjectName, string propertyName)
{
Index: Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs
===================================================================
diff -u -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928 -rf257390d4843bdb890c6a7a88ef326e336cadd55
--- Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs (.../GuiCoreSettings.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
+++ Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs (.../GuiCoreSettings.cs) (revision f257390d4843bdb890c6a7a88ef326e336cadd55)
@@ -20,6 +20,7 @@
// All rights reserved.
using System.Drawing;
+using System.Windows.Media.Imaging;
namespace Core.Gui.Settings
{
@@ -62,5 +63,10 @@
/// Gets or sets the path of the manual file.
///
public string ManualFilePath { get; set; }
+
+ ///
+ /// Gets or sets the made by bitmap image.
+ ///
+ public BitmapImage MadeByBitmapImage { get; set; }
}
}
\ No newline at end of file