From 0e7635d29d2fba65d3d2abad39f33da4031b9ee9 Mon Sep 17 00:00:00 2001 From: Andreas Sauer <18749753+Hanibal1963@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:53:29 +0200 Subject: [PATCH] --- CommonCodes/MyDescription.vb | 4 +++- SevenSegmentControl/My Project/AssemblyInfo.vb | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CommonCodes/MyDescription.vb b/CommonCodes/MyDescription.vb index 37dd93a..b38cbed 100644 --- a/CommonCodes/MyDescription.vb +++ b/CommonCodes/MyDescription.vb @@ -4,6 +4,8 @@ ' **************************************************************************************************************** ' +Imports System.Threading + ''' ''' Definiert ein benutzerdefiniertes Beschreibungsattribut um ''' Elementbeschreibungen aus einer Ressource abzurufen. @@ -15,7 +17,7 @@ Friend Class MyDescription Public Sub New(RessourceName As String) - MyBase.DescriptionValue = My.Resources.ResourceManager.GetString(RessourceName) + MyBase.DescriptionValue = My.Resources.ResourceManager.GetString(RessourceName, Thread.CurrentThread.CurrentUICulture) End Sub diff --git a/SevenSegmentControl/My Project/AssemblyInfo.vb b/SevenSegmentControl/My Project/AssemblyInfo.vb index a5e5d78..2f92498 100644 --- a/SevenSegmentControl/My Project/AssemblyInfo.vb +++ b/SevenSegmentControl/My Project/AssemblyInfo.vb @@ -31,6 +31,6 @@ Imports Microsoft.VisualBasic ' You can specify all the values or you can default the Build and Revision Numbers ' by using the '*' as shown below: ' [assembly: AssemblyVersion("1.0.*")] - - + +