Skip to content

Commit

Permalink
Changed lang setting code to prevent errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed Jun 1, 2020
1 parent 16312b8 commit 138a4e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TestTaskService/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ private void closeButton_Click(object sender, EventArgs e)

private void langCombo_SelectedIndexChanged(object sender, EventArgs e)
{
System.Threading.Thread.CurrentThread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentUICulture = langCombo.SelectedItem as CultureInfo;
System.Threading.Thread.CurrentThread.CurrentCulture = langCombo.SelectedItem as CultureInfo;
System.Threading.Thread.CurrentThread.CurrentUICulture = langCombo.SelectedItem as CultureInfo;
}

private void reconnectLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
Expand Down

0 comments on commit 138a4e1

Please sign in to comment.