diff --git a/app/TaskFlow/Changelog.md b/app/TaskFlow/Changelog.md index eab7006..6253ac2 100644 --- a/app/TaskFlow/Changelog.md +++ b/app/TaskFlow/Changelog.md @@ -1,12 +1,16 @@ # CHANGELOG -## 2.5.0.0 +## 2.4.7.0 ### Features - Modernisierung von verschiedenen Elementen (Validator, Startseite) - Format Strings für Textboxen (Währung, Fließkommazahlen, Datum & Uhrzeit) +- Tabellen Filter im Hauptfenster speichern ### Bugfixes - Anzeige-/Indexierungsfehler bei Mehrzeiligen Textboxen +- Formatierungsfehler bei Fließkomma-Indexen +- Fehlerhafte Verkettung von Werten bei abhängigen Controls + diff --git a/app/TaskFlow/ClassFormat.vb b/app/TaskFlow/ClassFormat.vb index 2ef28b9..da39d6d 100644 --- a/app/TaskFlow/ClassFormat.vb +++ b/app/TaskFlow/ClassFormat.vb @@ -58,22 +58,28 @@ Public Class ClassFormat Return oConvertedValue End Function + ''' + ''' Converts values to their respective data type and then back to string + ''' according to the current culture + ''' + ''' + ''' Public Shared Function GetStringValue(pValue As Object) As String Select Case pValue.GetType Case GetType(Single) - Return DirectCast(pValue, Single).ToString(CultureInfo.InvariantCulture) + Return DirectCast(pValue, Single).ToString(CultureInfo.CurrentCulture) Case GetType(Double) - Return DirectCast(pValue, Double).ToString(CultureInfo.InvariantCulture) + Return DirectCast(pValue, Double).ToString(CultureInfo.CurrentCulture) Case GetType(Decimal) - Return DirectCast(pValue, Decimal).ToString(CultureInfo.InvariantCulture) + Return DirectCast(pValue, Decimal).ToString(CultureInfo.CurrentCulture) Case GetType(Date) - Return DirectCast(pValue, Date).ToString(CultureInfo.InvariantCulture) + Return DirectCast(pValue, Date).ToString(CultureInfo.CurrentCulture) Case GetType(DateTime) - Return DirectCast(pValue, DateTime).ToString(CultureInfo.InvariantCulture) + Return DirectCast(pValue, DateTime).ToString(CultureInfo.CurrentCulture) Case Else Return pValue.ToString