mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Removed a color change routine in about window
This commit is contained in:
parent
928ee3e76c
commit
5d1b4b9a4f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user