fix
This commit is contained in:
parent
7589404257
commit
69fe0906fe
@ -1321,8 +1321,7 @@ Public Class frmMain
|
|||||||
End Try
|
End Try
|
||||||
Try
|
Try
|
||||||
If USER_LANGUAGE <> "" Then
|
If USER_LANGUAGE <> "" Then
|
||||||
Dim cultureInfo As System.Globalization.CultureInfo
|
Dim cultureInfo As New System.Globalization.CultureInfo(USER_LANGUAGE)
|
||||||
cultureInfo = New System.Globalization.CultureInfo(USER_LANGUAGE)
|
|
||||||
cultureInfo.DateTimeFormat.ShortDatePattern = USER_DATE_FORMAT
|
cultureInfo.DateTimeFormat.ShortDatePattern = USER_DATE_FORMAT
|
||||||
Thread.CurrentThread.CurrentCulture = cultureInfo
|
Thread.CurrentThread.CurrentCulture = cultureInfo
|
||||||
Thread.CurrentThread.CurrentUICulture = cultureInfo
|
Thread.CurrentThread.CurrentUICulture = cultureInfo
|
||||||
@ -1330,7 +1329,7 @@ Public Class frmMain
|
|||||||
CultureInfo.DefaultThreadCurrentUICulture = cultureInfo
|
CultureInfo.DefaultThreadCurrentUICulture = cultureInfo
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
Try
|
Try
|
||||||
InitializeComponent()
|
InitializeComponent()
|
||||||
@ -1340,8 +1339,6 @@ Public Class frmMain
|
|||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
LOGGER.Info($"Error in InitializeComponent: {ex.Message}")
|
LOGGER.Info($"Error in InitializeComponent: {ex.Message}")
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub TimerReminder_Tick(sender As Object, e As EventArgs) Handles TimerReminder.Tick
|
Private Sub TimerReminder_Tick(sender As Object, e As EventArgs) Handles TimerReminder.Tick
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user