Skip to content

Commit 58acdae

Browse files
committed
Documentation update
1 parent edb1da9 commit 58acdae

15 files changed

Lines changed: 97 additions & 36 deletions

Documentation/de-DE/Help/Custom_themes_and_accents.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Wie erstelle ich ein benutzerdefiniertes Thema und Akzent?
2+
3+
Seit der Version 1.5.0.0, können Sie benutzerdefinierte Designs erstellen, die mit [MahApps.Metro](https://github.com/MahApps/MahApps.Metro) kompatible sind.
4+
5+
Eigene Designs werden im Programmordner unter `themes` abgelegt.
6+
7+
## Thema
8+
9+
Laden Sie ein Thema von MahApps.Metro (z.B. [BaseLight](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/BaseLight.xaml), [BaseDark](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/BaseDark.xaml)) herunter und modifizieren Sie die Werte nach belieben. Speichern Sie die Datei im `themes`-Ordner mit folgendem Dateinamen `CUSTOMNAME.Theme.xaml`.
10+
11+
Nach einem Neustart der Anwendung können Sie das Thema in den Programmeinstellungen laden.
12+
13+
## Akzent
14+
15+
Laden Sie einen Akzent von MahApps.Metro (z.B. [Lime](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/Lime.xaml), [Red](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/Red.xaml)) herunter und modifizieren Sie die Werte nach belieben. Speichern Sie die Datei im `themes`-Ordner mit folgendem Dateinamen `CUSTOMNAME.Accent.xaml`.
16+
17+
Nach einem Neustart der Anwendung können Sie den Akzent in den Programmeinstellungen laden.

Documentation/de-DE/Help/Install_RDP_8dot1_on_Windows6dot1.md renamed to Documentation/de-DE/HowTo/Install_RDP_8dot1_on_Windows6dot1.md

File renamed without changes.

Documentation/de-DE/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Dokumentation
22

3-
## Hilfe
4-
- [Wie installiere ich RDP 8.1 unter Windows 7 / Server 2008 R2?](Help/Install_RDP_8dot1_on_Windows6dot1.md)
3+
## HowTo
4+
- [Wie installiere ich RDP 8.1 unter Windows 7 / Server 2008 R2?](HowTo/Install_RDP_8dot1_on_Windows6dot1.md)
5+
- [Wie erstelle ich ein benutzerdefiniertes Thema und Akzent?](HowTo/Create_custom_theme_and_accent.md)

Documentation/en-US/Help/Custom_themes_and_accents.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# How to create a custom theme and accent?
2+
3+
Since version 1.5.0.0, you can create custom designs that are compatible with [MahApps.Metro](https://github.com/MahApps/MahApps.Metro).
4+
5+
Own designs are stored in the program folder under `themes`.
6+
7+
## Theme
8+
9+
Download a theme from MahApps.Metro (eg [BaseLight](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/BaseLight.xaml), [BaseDark](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/BaseDark.xaml)) and modify the values as you like. Save the file in the `themes` folder with the following filename `CUSTOMNAME.Theme.xaml`.
10+
11+
After restarting the application, you can load the theme in the program settings.
12+
13+
## Accent
14+
15+
Download an accent from MahApps.Metro (eg [Lime](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/Lime.xaml), [Red](https://github.com/MahApps/MahApps.Metro/blob/develop/src/MahApps.Metro/MahApps.Metro/Styles/Accents/Red.xaml)) and modify the values as you like. Save the file in the `themes` folder with the following file name `CUSTOMNAME.Accent.xaml`.
16+
17+
After restarting the application, you can load the accent in the program settings.

Documentation/en-US/Help/Install_RDP_8dot1_on_Windows6dot1.md renamed to Documentation/en-US/HowTo/Install_RDP_8dot1_on_Windows6dot1.md

File renamed without changes.

Documentation/en-US/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Documentation
22

3-
## Help
4-
- [How to install RDP 8.1 on Windows 7/Server 2008 R2?](Help/Install_RDP_8dot1_on_Windows6dot1.md)
3+
## HowTo
4+
- [How to install RDP 8.1 on Windows 7/Server 2008 R2?](HowTo/Install_RDP_8dot1_on_Windows6dot1.md)
5+
- [How to create a custom theme and accent?](HowTo/Create_custom_theme_and_accent.md)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ _On Windows 10 systems, SmartScreen may prevent the execution of the_ `NETworkMa
5252

5353
- Windows 7 or later
5454
- .NET-Framework 4.6
55-
- RDP 8.1 ([How to install RDP 8.1 on Windows 7/Server 2008 R2?](Documentation/en-US/Help/Install_RDP_8dot1_on_Windows6dot1.md))
55+
- RDP 8.1 ([How to install RDP 8.1 on Windows 7/Server 2008 R2?](Documentation/en-US/HowTo/Install_RDP_8dot1_on_Windows6dot1.md))
5656

5757
<h2>Documentation</h2>
5858

Source/NETworkManager/Models/Documentation/DocumentationManager.cs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
using System.Collections.Generic;
1+
using NETworkManager.ViewModels;
2+
using System.Collections.Generic;
3+
using System.Diagnostics;
24
using System.Linq;
5+
using System.Windows.Input;
36

47
namespace NETworkManager.Models.Documentation
58
{
@@ -18,7 +21,8 @@ public static List<DocumentationInfo> List
1821
{
1922
return new List<DocumentationInfo>
2023
{
21-
new DocumentationInfo(00001, @"/Help/Install_RDP_8dot1_on_Windows6dot1.md", GetLocalizationInfoList("en-US", "de-DE"))
24+
new DocumentationInfo(00001, @"/Help/Install_RDP_8dot1_on_Windows6dot1.md", GetLocalizationInfoList("en-US", "de-DE")),
25+
new DocumentationInfo(00002, @"/Help/Create_custom_theme_and_accent.md", GetLocalizationInfoList("en-US", "de-DE"))
2226
};
2327
}
2428
}
@@ -44,5 +48,15 @@ public static string GetLocalizedURLbyID(int id)
4448

4549
return list;
4650
}
51+
52+
public static ICommand OpenDocumentationCommand
53+
{
54+
get { return new RelayCommand(p => OpenDocumentationAction(p)); }
55+
}
56+
57+
private static void OpenDocumentationAction(object id)
58+
{
59+
Process.Start(DocumentationManager.GetLocalizedURLbyID(int.Parse((string)id)));
60+
}
4761
}
4862
}

0 commit comments

Comments
 (0)