From 5d1b4b9a4f02958a01401da4f6b7d572f239a91a Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 14 Nov 2018 05:40:00 -0600 Subject: [PATCH] Removed a color change routine in about window --- DS4Windows/DS4Forms/Hotkeys.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/DS4Windows/DS4Forms/Hotkeys.cs b/DS4Windows/DS4Forms/Hotkeys.cs index 579ce6d..977f74a 100644 --- a/DS4Windows/DS4Forms/Hotkeys.cs +++ b/DS4Windows/DS4Forms/Hotkeys.cs @@ -2,7 +2,6 @@ using System.Windows.Forms; using System.Reflection; -using System.Threading; using System.Diagnostics; using System.Drawing; @@ -13,15 +12,6 @@ namespace DS4Windows public Hotkeys() { InitializeComponent(); - string s = Thread.CurrentThread.CurrentUICulture.ToString().Split('-')[0]; - - Control[] ctrls = tLPTranslators.Controls.Find("lb" + s, true); - if (ctrls.Length > 0) - { - ((Label)ctrls[0]).ForeColor = Color.DarkGreen; - int ind = tLPTranslators.Controls.IndexOf(ctrls[0]) + 1; - ((Label)tLPTranslators.Controls[ind]).ForeColor = Color.DarkGreen; - } FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location); string version = fvi.FileVersion;