diff --git a/BeWo/LoginControl.xaml.cs b/BeWo/LoginControl.xaml.cs index a904c7ece..5f39bb30f 100644 --- a/BeWo/LoginControl.xaml.cs +++ b/BeWo/LoginControl.xaml.cs @@ -272,6 +272,12 @@ namespace BeWo gridLogin.Height += 25; } + private bool IsNet45OrNewer() + { + // Class "ReflectionContext" exists from .NET 4.5 onwards. + return Type.GetType("System.Reflection.ReflectionContext", false) != null; + } + private bool CheckStatusMessage(BeWoProfile profile) { diff --git a/BeWo/Styles/OrangeBlack.xaml b/BeWo/Styles/OrangeBlack.xaml index 230ac45a1..2b0139cd7 100644 --- a/BeWo/Styles/OrangeBlack.xaml +++ b/BeWo/Styles/OrangeBlack.xaml @@ -130,6 +130,7 @@ -->