diff --git a/DayZLootEdit/DayZLootEdit.csproj b/DayZLootEdit/DayZLootEdit.csproj
index 9b0a79a..c2130f9 100644
--- a/DayZLootEdit/DayZLootEdit.csproj
+++ b/DayZLootEdit/DayZLootEdit.csproj
@@ -134,6 +134,7 @@
SettingsSingleFileGenerator
Settings.Designer.cs
+
diff --git a/DayZLootEdit/InfoWindow.xaml b/DayZLootEdit/InfoWindow.xaml
index 97bba59..03b00ca 100644
--- a/DayZLootEdit/InfoWindow.xaml
+++ b/DayZLootEdit/InfoWindow.xaml
@@ -12,8 +12,6 @@
-
-
-
+
diff --git a/DayZLootEdit/InfoWindow.xaml.cs b/DayZLootEdit/InfoWindow.xaml.cs
index 818ce53..fc05b86 100644
--- a/DayZLootEdit/InfoWindow.xaml.cs
+++ b/DayZLootEdit/InfoWindow.xaml.cs
@@ -1,4 +1,5 @@
using System.Diagnostics;
+using System.IO;
using System.Reflection;
using System.Text;
using System.Windows;
@@ -38,8 +39,9 @@ public InfoWindow()
lblCopyright.Content = copyright.ToString();
}
- string credits = "This application is a further development\nof 'DayZ LootEdit' by MrX13415.\n\nIf you have any suggestions for\nimprovement, please contact me\non GitHub.";
- rtbCredits.AppendText(credits);
+ MemoryStream memStream = new MemoryStream(ASCIIEncoding.Default.GetBytes(Properties.Resources.info));
+ rtbCredits.SelectAll();
+ rtbCredits.Selection.Load(memStream, DataFormats.Rtf);
}
diff --git a/DayZLootEdit/MainWindow.xaml b/DayZLootEdit/MainWindow.xaml
index 05357df..d871fd3 100644
--- a/DayZLootEdit/MainWindow.xaml
+++ b/DayZLootEdit/MainWindow.xaml
@@ -164,6 +164,8 @@
diff --git a/DayZLootEdit/MainWindow.xaml.cs b/DayZLootEdit/MainWindow.xaml.cs
index e4e0036..4693a45 100644
--- a/DayZLootEdit/MainWindow.xaml.cs
+++ b/DayZLootEdit/MainWindow.xaml.cs
@@ -297,14 +297,6 @@ private void MnuFileExit_Click(object sender, RoutedEventArgs e)
}
- private void MnuHelpInfo_Click(object sender, RoutedEventArgs e)
- {
-
- InfoWindow iw = new InfoWindow();
- iw.ShowDialog();
-
- }
-
private void MnuEditSelectAll_Click(object sender, RoutedEventArgs e)
{
LootList.SelectAll();
@@ -606,6 +598,20 @@ private void MnuEditClearValue_Click(object sender, RoutedEventArgs e)
LootList.Focus();
}
+ private void MnuHelpGitHub_Click(object sender, RoutedEventArgs e)
+ {
+ string uriQuery = "https://github.com/ojemineh/DayZLootEdit";
+ Process.Start(uriQuery);
+ }
+
+ private void MnuHelpInfo_Click(object sender, RoutedEventArgs e)
+ {
+
+ InfoWindow iw = new InfoWindow();
+ iw.ShowDialog();
+
+ }
+
// PERCENT
private void UpdatePercentControls()
diff --git a/DayZLootEdit/Properties/Resources.Designer.cs b/DayZLootEdit/Properties/Resources.Designer.cs
index 502d1d1..3cf28b7 100644
--- a/DayZLootEdit/Properties/Resources.Designer.cs
+++ b/DayZLootEdit/Properties/Resources.Designer.cs
@@ -59,5 +59,26 @@ internal Resources() {
resourceCulture = value;
}
}
+
+ ///
+ /// Sucht eine lokalisierte Zeichenfolge, die {\rtf1\ansi\ansicpg1252\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
+ ///{\colortbl ;\red0\green0\blue0;}
+ ///{\*\generator Riched20 10.0.19041}\viewkind4\uc1
+ ///\pard\cf1\f0\fs18\lang1031 This application is a further development of 'DayZLootEdit' by MrX13415.\par
+ ///\par
+ ///If you have any suggestions for improvement, please contact me on GitHub.\par
+ ///\par
+ ///\par
+ ///MIT License\par
+ ///\par
+ ///Copyright (c) 2021 \par
+ ///\par
+ ///Permission is hereby granted, free of charge, to any person obtaining a copy of this s [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt.
+ ///
+ internal static string info {
+ get {
+ return ResourceManager.GetString("info", resourceCulture);
+ }
+ }
}
}
diff --git a/DayZLootEdit/Properties/Resources.resx b/DayZLootEdit/Properties/Resources.resx
index af7dbeb..8b34df9 100644
--- a/DayZLootEdit/Properties/Resources.resx
+++ b/DayZLootEdit/Properties/Resources.resx
@@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
: and then encoded with base64 encoding.
-->
+
@@ -68,9 +69,10 @@
-
+
+
@@ -85,9 +87,10 @@
-
+
+
@@ -109,9 +112,13 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ..\Resources\info.rtf;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
+
\ No newline at end of file
diff --git a/DayZLootEdit/Resources/info.rtf b/DayZLootEdit/Resources/info.rtf
new file mode 100644
index 0000000..47792c8
Binary files /dev/null and b/DayZLootEdit/Resources/info.rtf differ
diff --git a/dayzlootedit.png b/dayzlootedit.png
index 3631ce1..8103e36 100644
Binary files a/dayzlootedit.png and b/dayzlootedit.png differ
diff --git a/info.rtf b/info.rtf
new file mode 100644
index 0000000..47792c8
Binary files /dev/null and b/info.rtf differ