Merge branch 'language-switch' of https://github.com/czukowski/DS4Windows into czukowski-language-switch

This commit is contained in:
Travis Nickles 2018-01-18 00:03:55 -06:00
commit 84f1e7caae
14 changed files with 2272 additions and 1615 deletions

View File

@ -441,6 +441,12 @@ namespace DS4Windows
get { return m_Config.formLocationY; } get { return m_Config.formLocationY; }
} }
public static string UseLang
{
set { m_Config.useLang = value; }
get { return m_Config.useLang; }
}
public static bool DownloadLang public static bool DownloadLang
{ {
set { m_Config.downloadLang = value; } set { m_Config.downloadLang = value; }
@ -1366,6 +1372,7 @@ namespace DS4Windows
{ new Dictionary<string, int>(), new Dictionary<string, int>(), new Dictionary<string, int>(), { new Dictionary<string, int>(), new Dictionary<string, int>(), new Dictionary<string, int>(),
new Dictionary<string, int>(), new Dictionary<string, int>() }; new Dictionary<string, int>(), new Dictionary<string, int>() };
public string useLang = "";
public bool downloadLang = true; public bool downloadLang = true;
public bool useWhiteIcon; public bool useWhiteIcon;
public bool flashWhenLate = true; public bool flashWhenLate = true;
@ -2879,6 +2886,8 @@ namespace DS4Windows
catch { missingSetting = true; } catch { missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/Profile/CloseMinimizes"); Boolean.TryParse(Item.InnerText, out closeMini); } try { Item = m_Xdoc.SelectSingleNode("/Profile/CloseMinimizes"); Boolean.TryParse(Item.InnerText, out closeMini); }
catch { missingSetting = true; } catch { missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/Profile/UseLang"); useLang = Item.InnerText; }
catch { missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/Profile/DownloadLang"); Boolean.TryParse(Item.InnerText, out downloadLang); } try { Item = m_Xdoc.SelectSingleNode("/Profile/DownloadLang"); Boolean.TryParse(Item.InnerText, out downloadLang); }
catch { missingSetting = true; } catch { missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/Profile/FlashWhenLate"); Boolean.TryParse(Item.InnerText, out flashWhenLate); } try { Item = m_Xdoc.SelectSingleNode("/Profile/FlashWhenLate"); Boolean.TryParse(Item.InnerText, out flashWhenLate); }
@ -2949,6 +2958,7 @@ namespace DS4Windows
XmlNode xmlQuickCharge = m_Xdoc.CreateNode(XmlNodeType.Element, "QuickCharge", null); xmlQuickCharge.InnerText = quickCharge.ToString(); Node.AppendChild(xmlQuickCharge); XmlNode xmlQuickCharge = m_Xdoc.CreateNode(XmlNodeType.Element, "QuickCharge", null); xmlQuickCharge.InnerText = quickCharge.ToString(); Node.AppendChild(xmlQuickCharge);
XmlNode xmlFirstXinputPort = m_Xdoc.CreateNode(XmlNodeType.Element, "FirstXinputPort", null); xmlFirstXinputPort.InnerText = firstXinputPort.ToString(); Node.AppendChild(xmlFirstXinputPort); XmlNode xmlFirstXinputPort = m_Xdoc.CreateNode(XmlNodeType.Element, "FirstXinputPort", null); xmlFirstXinputPort.InnerText = firstXinputPort.ToString(); Node.AppendChild(xmlFirstXinputPort);
XmlNode xmlCloseMini = m_Xdoc.CreateNode(XmlNodeType.Element, "CloseMinimizes", null); xmlCloseMini.InnerText = closeMini.ToString(); Node.AppendChild(xmlCloseMini); XmlNode xmlCloseMini = m_Xdoc.CreateNode(XmlNodeType.Element, "CloseMinimizes", null); xmlCloseMini.InnerText = closeMini.ToString(); Node.AppendChild(xmlCloseMini);
XmlNode xmlUseLang = m_Xdoc.CreateNode(XmlNodeType.Element, "UseLang", null); xmlUseLang.InnerText = useLang.ToString(); Node.AppendChild(xmlUseLang);
XmlNode xmlDownloadLang = m_Xdoc.CreateNode(XmlNodeType.Element, "DownloadLang", null); xmlDownloadLang.InnerText = downloadLang.ToString(); Node.AppendChild(xmlDownloadLang); XmlNode xmlDownloadLang = m_Xdoc.CreateNode(XmlNodeType.Element, "DownloadLang", null); xmlDownloadLang.InnerText = downloadLang.ToString(); Node.AppendChild(xmlDownloadLang);
XmlNode xmlFlashWhenLate = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLate", null); xmlFlashWhenLate.InnerText = flashWhenLate.ToString(); Node.AppendChild(xmlFlashWhenLate); XmlNode xmlFlashWhenLate = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLate", null); xmlFlashWhenLate.InnerText = flashWhenLate.ToString(); Node.AppendChild(xmlFlashWhenLate);
XmlNode xmlFlashWhenLateAt = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLateAt", null); xmlFlashWhenLateAt.InnerText = flashWhenLateAt.ToString(); Node.AppendChild(xmlFlashWhenLateAt); XmlNode xmlFlashWhenLateAt = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLateAt", null); xmlFlashWhenLateAt.InnerText = flashWhenLateAt.ToString(); Node.AppendChild(xmlFlashWhenLateAt);

View File

@ -146,6 +146,7 @@
this.lbUseXIPorts = new System.Windows.Forms.Label(); this.lbUseXIPorts = new System.Windows.Forms.Label();
this.nUDXIPorts = new System.Windows.Forms.NumericUpDown(); this.nUDXIPorts = new System.Windows.Forms.NumericUpDown();
this.lbLastXIPort = new System.Windows.Forms.Label(); this.lbLastXIPort = new System.Windows.Forms.Label();
this.languagePackComboBox1 = new DS4Windows.DS4Forms.LanguagePackComboBox();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.linkProfiles = new System.Windows.Forms.LinkLabel(); this.linkProfiles = new System.Windows.Forms.LinkLabel();
this.lnkControllers = new System.Windows.Forms.LinkLabel(); this.lnkControllers = new System.Windows.Forms.LinkLabel();
@ -892,6 +893,7 @@
this.fLPSettings.Controls.Add(this.cBUpdate); this.fLPSettings.Controls.Add(this.cBUpdate);
this.fLPSettings.Controls.Add(this.pNUpdate); this.fLPSettings.Controls.Add(this.pNUpdate);
this.fLPSettings.Controls.Add(this.pnlXIPorts); this.fLPSettings.Controls.Add(this.pnlXIPorts);
this.fLPSettings.Controls.Add(this.languagePackComboBox1);
this.fLPSettings.Controls.Add(this.flowLayoutPanel1); this.fLPSettings.Controls.Add(this.flowLayoutPanel1);
this.fLPSettings.Name = "fLPSettings"; this.fLPSettings.Name = "fLPSettings";
// //
@ -1136,6 +1138,14 @@
resources.ApplyResources(this.lbLastXIPort, "lbLastXIPort"); resources.ApplyResources(this.lbLastXIPort, "lbLastXIPort");
this.lbLastXIPort.Name = "lbLastXIPort"; this.lbLastXIPort.Name = "lbLastXIPort";
// //
// languagePackComboBox1
//
resources.ApplyResources(this.languagePackComboBox1, "languagePackComboBox1");
this.languagePackComboBox1.LanguageAssemblyName = "DS4Windows.resources.dll";
this.languagePackComboBox1.Name = "languagePackComboBox1";
this.languagePackComboBox1.ProbingPath = "Lang";
this.languagePackComboBox1.SelectedValueChanged += new System.EventHandler(this.languagePackComboBox1_SelectedValueChanged);
//
// flowLayoutPanel1 // flowLayoutPanel1
// //
resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1"); resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1");
@ -1430,6 +1440,7 @@
private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Button exportLogTxtBtn; private System.Windows.Forms.Button exportLogTxtBtn;
private System.Windows.Forms.Button btnClear; private System.Windows.Forms.Button btnClear;
private DS4Forms.LanguagePackComboBox languagePackComboBox1;
//private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; //private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
} }
} }

View File

@ -88,6 +88,9 @@ namespace DS4Windows
public DS4Form(string[] args) public DS4Form(string[] args)
{ {
Global.Load();
this.setCulture(UseLang);
InitializeComponent(); InitializeComponent();
ThemeUtil.SetTheme(lvDebug); ThemeUtil.SetTheme(lvDebug);
@ -181,7 +184,6 @@ namespace DS4Windows
Log.TrayIconLog += ShowNotification; Log.TrayIconLog += ShowNotification;
Directory.CreateDirectory(appdatapath); Directory.CreateDirectory(appdatapath);
Global.Load();
if (!Save()) //if can't write to file if (!Save()) //if can't write to file
{ {
if (MessageBox.Show("Cannot write at current location\nCopy Settings to appdata?", "DS4Windows", if (MessageBox.Show("Cannot write at current location\nCopy Settings to appdata?", "DS4Windows",
@ -428,6 +430,16 @@ namespace DS4Windows
} }
} }
private void setCulture(string culture)
{
try
{
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(culture);
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.GetCultureInfo(culture);
}
catch { /* Skip setting culture that we cannot set */ }
}
private void populateHoverTextDict() private void populateHoverTextDict()
{ {
hoverTextDict.Clear(); hoverTextDict.Clear();
@ -2487,6 +2499,17 @@ namespace DS4Windows
} }
} }
private void languagePackComboBox1_SelectedValueChanged(object sender, EventArgs e)
{
string newValue = ((DS4Forms.LanguagePackComboBox)sender).SelectedValue.ToString();
if (newValue != UseLang)
{
UseLang = newValue;
Save();
MessageBox.Show(Properties.Resources.LanguagePackApplyRestartRequired, Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e) private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e)
{ {
FlashWhenLate = cBFlashWhenLate.Checked; FlashWhenLate = cBFlashWhenLate.Checked;

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
@ -117,28 +117,184 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<data name="chTime.Text" xml:space="preserve">
<value>Čas</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="lbLastMessage.Size" type="System.Drawing.Size, System.Drawing"> <data name="assignToController1ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>861, 22</value> <value>214, 26</value>
</data> </data>
<data name="llbHelp.Location" type="System.Drawing.Point, System.Drawing"> <data name="assignToController1ToolStripMenuItem.Text" xml:space="preserve">
<value>874, 11</value> <value>Přiřadit ovladači č.1</value>
</data> </data>
<data name="llbHelp.Size" type="System.Drawing.Size, System.Drawing"> <data name="assignToController2ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 17</value> <value>214, 26</value>
</data> </data>
<data name="llbHelp.Text" xml:space="preserve"> <data name="assignToController2ToolStripMenuItem.Text" xml:space="preserve">
<value>Kláv. zkratky/O programu</value> <value>Přiřadit ovladači č.2</value>
</data>
<data name="assignToController3ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController3ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.3</value>
</data>
<data name="assignToController4ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController4ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.4</value>
</data>
<data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing">
<value>1018, 22</value>
</data>
<data name="bnEditC1.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing">
<value>1018, 58</value>
</data>
<data name="bnEditC2.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing">
<value>1018, 94</value>
</data>
<data name="bnEditC3.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing">
<value>1018, 130</value>
</data>
<data name="bnEditC4.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing">
<value>1072, 22</value>
</data>
<data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 28</value>
</data>
<data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing">
<value>1072, 58</value>
</data>
<data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 28</value>
</data>
<data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing">
<value>1072, 94</value>
</data>
<data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 28</value>
</data>
<data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing">
<value>1072, 130</value>
</data>
<data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 28</value>
</data> </data>
<data name="btnClear.Text" xml:space="preserve"> <data name="btnClear.Text" xml:space="preserve">
<value>Vymazat</value> <value>Vymazat</value>
</data> </data>
<data name="btnStartStop.Text" xml:space="preserve">
<value>Start</value>
</data>
<data name="cBCloseMini.Size" type="System.Drawing.Size, System.Drawing">
<value>181, 21</value>
</data>
<data name="cBCloseMini.Text" xml:space="preserve">
<value>Zavřít při minimalizování</value>
</data>
<data name="cBController1.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 23</value>
</data>
<data name="cBController2.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 59</value>
</data>
<data name="cBController3.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 95</value>
</data>
<data name="cBController4.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 131</value>
</data>
<data name="cBDisconnectBT.Size" type="System.Drawing.Size, System.Drawing">
<value>201, 21</value>
</data>
<data name="cBDisconnectBT.Text" xml:space="preserve">
<value>Odpojit od BT při zastavení</value>
</data>
<data name="cBDownloadLangauge.Size" type="System.Drawing.Size, System.Drawing">
<value>348, 21</value>
</data>
<data name="cBDownloadLangauge.Text" xml:space="preserve">
<value>Při aktualizaci stáhnout také nové jazykové balíčky</value>
</data>
<data name="cBFlashWhenLate.Size" type="System.Drawing.Size, System.Drawing">
<value>177, 21</value>
</data>
<data name="cBFlashWhenLate.Text" xml:space="preserve">
<value>Blikat při vysoké latenci</value>
</data>
<data name="cBoxNotifications.Items" xml:space="preserve">
<value>Žádný</value>
</data>
<data name="cBoxNotifications.Items1" xml:space="preserve">
<value>Pouze varování</value>
</data>
<data name="cBoxNotifications.Items2" xml:space="preserve">
<value>Vše</value>
</data>
<data name="cBQuickCharge.Size" type="System.Drawing.Size, System.Drawing">
<value>126, 21</value>
</data>
<data name="cBQuickCharge.Text" xml:space="preserve">
<value>Rychlé nabíjení</value>
</data>
<data name="cBSwipeProfiles.Size" type="System.Drawing.Size, System.Drawing">
<value>289, 21</value>
</data>
<data name="cBSwipeProfiles.Text" xml:space="preserve">
<value>Pro změnu profilu přejeďte po touchpadu</value>
</data>
<data name="cBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>253, 21</value>
</data>
<data name="cBUpdate.Text" xml:space="preserve">
<value>Při spuštění kontrolovat aktualizace</value>
</data>
<data name="cBUpdateTime.Items" xml:space="preserve">
<value>hodin</value>
</data>
<data name="cBUpdateTime.Items1" xml:space="preserve">
<value>dní</value>
</data>
<data name="cBUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>211, 0</value>
</data>
<data name="chData.Text" xml:space="preserve">
<value>Data</value>
</data>
<data name="chTime.Text" xml:space="preserve">
<value>Čas</value>
</data>
<data name="cMCustomLed.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 56</value>
</data>
<data name="cMProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>215, 264</value>
</data>
<data name="cMTaskbar.Size" type="System.Drawing.Size, System.Drawing"> <data name="cMTaskbar.Size" type="System.Drawing.Size, System.Drawing">
<value>304, 192</value> <value>304, 192</value>
</data> </data>
<data name="deleteToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="deleteToolStripMenuItem.Text" xml:space="preserve">
<value>Odstranit (Del)</value>
</data>
<data name="duplicateToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="duplicateToolStripMenuItem.Text" xml:space="preserve">
<value>Duplikovat (Ctrl+D)</value>
</data>
<data name="editProfileForController1ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing"> <data name="editProfileForController1ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>303, 26</value> <value>303, 26</value>
</data> </data>
@ -163,17 +319,11 @@
<data name="editProfileForController4ToolStripMenuItem.Text" xml:space="preserve"> <data name="editProfileForController4ToolStripMenuItem.Text" xml:space="preserve">
<value>Upravit profil ovladače č. 4</value> <value>Upravit profil ovladače č. 4</value>
</data> </data>
<data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing"> <data name="editToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>300, 6</value> <value>214, 26</value>
</data> </data>
<data name="startToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing"> <data name="editToolStripMenuItem.Text" xml:space="preserve">
<value>303, 26</value> <value>Změnit</value>
</data>
<data name="openToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>303, 26</value>
</data>
<data name="openToolStripMenuItem.Text" xml:space="preserve">
<value>Otevřít</value>
</data> </data>
<data name="exitToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing"> <data name="exitToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>303, 26</value> <value>303, 26</value>
@ -181,53 +331,80 @@
<data name="exitToolStripMenuItem.Text" xml:space="preserve"> <data name="exitToolStripMenuItem.Text" xml:space="preserve">
<value>Ukončit (prostřední tlačítko myši)</value> <value>Ukončit (prostřední tlačítko myši)</value>
</data> </data>
<data name="tabControllers.Text" xml:space="preserve"> <data name="exportToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>Ovladače</value> <value>214, 26</value>
</data> </data>
<data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing"> <data name="exportToolStripMenuItem.Text" xml:space="preserve">
<value>1072, 94</value> <value>Exportovat</value>
</data> </data>
<data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing"> <data name="flowLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>46, 28</value> <value>369, 13</value>
</data> </data>
<data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing"> <data name="flowLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>522, 26</value> <value>185, 85</value>
</data> </data>
<data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing"> <data name="hideDS4CheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>1018, 94</value> <value>146, 21</value>
</data> </data>
<data name="bnEditC3.Text" xml:space="preserve"> <data name="hideDS4CheckBox.Text" xml:space="preserve">
<value>Změnit</value> <value>Skrýt DS4 ovladač</value>
</data> </data>
<data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing"> <data name="importToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>1018, 130</value> <value>214, 26</value>
</data> </data>
<data name="bnEditC4.Text" xml:space="preserve"> <data name="importToolStripMenuItem.Text" xml:space="preserve">
<value>Změnit</value> <value>Importovat</value>
</data> </data>
<data name="cBController1.Location" type="System.Drawing.Point, System.Drawing"> <data name="languagePackComboBox1.InvariantCultureText" xml:space="preserve">
<value>872, 23</value> <value>Ne (anglické UI)</value>
</data> </data>
<data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing"> <data name="languagePackComboBox1.LabelText" xml:space="preserve">
<value>1018, 58</value> <value>Použít jazykový balíček</value>
</data> </data>
<data name="bnEditC2.Text" xml:space="preserve"> <data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing">
<value>Změnit</value> <value>740, 27</value>
</data> </data>
<data name="cBController2.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 59</value> <value>740, 63</value>
</data> </data>
<data name="cBController3.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing">
<value>872, 95</value> <value>740, 99</value>
</data> </data>
<data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing">
<value>1018, 22</value> <value>740, 135</value>
</data> </data>
<data name="bnEditC1.Text" xml:space="preserve"> <data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing">
<value>Změnit</value> <value>732, 0</value>
</data> </data>
<data name="cBController4.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBattery.Text" xml:space="preserve">
<value>872, 131</value> <value>Baterie</value>
</data>
<data name="lbCheckEvery.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 17</value>
</data>
<data name="lbCheckEvery.Text" xml:space="preserve">
<value>Kontrolovat kažých</value>
</data>
<data name="lbID.Text" xml:space="preserve">
<value>ID</value>
</data>
<data name="lbLastMessage.Size" type="System.Drawing.Size, System.Drawing">
<value>861, 22</value>
</data>
<data name="lbLastXIPort.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 4</value>
</data>
<data name="lbMsLatency.Location" type="System.Drawing.Point, System.Drawing">
<value>237, 5</value>
</data>
<data name="lbNoControllers.Text" xml:space="preserve">
<value>Žádné připojené ovladače (max. 4)</value>
</data>
<data name="lbNotifications.Size" type="System.Drawing.Size, System.Drawing">
<value>125, 17</value>
</data>
<data name="lbNotifications.Text" xml:space="preserve">
<value>Zobrazit oznámení</value>
</data> </data>
<data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing">
<value>886, 0</value> <value>886, 0</value>
@ -247,23 +424,77 @@
<data name="lbStatus.Text" xml:space="preserve"> <data name="lbStatus.Text" xml:space="preserve">
<value>Stav</value> <value>Stav</value>
</data> </data>
<data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbUseXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>732, 0</value> <value>127, 17</value>
</data> </data>
<data name="lbBattery.Text" xml:space="preserve"> <data name="lbUseXIPorts.Text" xml:space="preserve">
<value>Baterie</value> <value>Použít Xinput porty</value>
</data> </data>
<data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkProfiles.Size" type="System.Drawing.Size, System.Drawing">
<value>740, 27</value> <value>93, 17</value>
</data> </data>
<data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkProfiles.Text" xml:space="preserve">
<value>740, 63</value> <value>Složka profilu</value>
</data> </data>
<data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing">
<value>740, 99</value> <value>132, 17</value>
</data> </data>
<data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkSetup.Text" xml:space="preserve">
<value>740, 135</value> <value>Nastavení ovladače</value>
</data>
<data name="linkUninstall.Size" type="System.Drawing.Size, System.Drawing">
<value>177, 17</value>
</data>
<data name="linkUninstall.Text" xml:space="preserve">
<value>Odinstalovat VBus ovladač</value>
</data>
<data name="llbHelp.Location" type="System.Drawing.Point, System.Drawing">
<value>874, 11</value>
</data>
<data name="llbHelp.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 17</value>
</data>
<data name="llbHelp.Text" xml:space="preserve">
<value>Kláv. zkratky/O programu</value>
</data>
<data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>162, 17</value>
</data>
<data name="lLBUpdate.Text" xml:space="preserve">
<value>Zkontrolovat aktualizace</value>
</data>
<data name="lnkControllers.Size" type="System.Drawing.Size, System.Drawing">
<value>102, 17</value>
</data>
<data name="lnkControllers.Text" xml:space="preserve">
<value>Ovládací panel</value>
</data>
<data name="newProfileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="newProfileToolStripMenuItem.Text" xml:space="preserve">
<value>Nový profil</value>
</data>
<data name="nUDLatency.Location" type="System.Drawing.Point, System.Drawing">
<value>174, 2</value>
</data>
<data name="nUDUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>148, 1</value>
</data>
<data name="nUDXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 1</value>
</data>
<data name="openToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>303, 26</value>
</data>
<data name="openToolStripMenuItem.Text" xml:space="preserve">
<value>Otevřít</value>
</data>
<data name="panel2.Size" type="System.Drawing.Size, System.Drawing">
<value>266, 28</value>
</data>
<data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing">
<value>522, 26</value>
</data> </data>
<data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing">
<value>522, 62</value> <value>522, 62</value>
@ -274,95 +505,44 @@
<data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing">
<value>522, 134</value> <value>522, 134</value>
</data> </data>
<data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing"> <data name="pnlXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>1072, 22</value> <value>253, 28</value>
</data> </data>
<data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing"> <data name="pNUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 28</value> <value>289, 28</value>
</data> </data>
<data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing"> <data name="startMinimizedCheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>1072, 58</value> <value>173, 21</value>
</data> </data>
<data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing"> <data name="startMinimizedCheckBox.Text" xml:space="preserve">
<value>46, 28</value> <value>Spustit minimalizovaně</value>
</data> </data>
<data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing"> <data name="startToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>1072, 130</value> <value>303, 26</value>
</data> </data>
<data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing"> <data name="startToolStripMenuItem.Text" xml:space="preserve">
<value>46, 28</value> <value>Start</value>
</data> </data>
<data name="lbNoControllers.Text" xml:space="preserve"> <data name="StartWindowsCheckBox.Size" type="System.Drawing.Size, System.Drawing">
<value>Žádné připojené ovladače (max. 4)</value> <value>189, 21</value>
</data>
<data name="StartWindowsCheckBox.Text" xml:space="preserve">
<value>Spustit při startu systému</value>
</data>
<data name="tabAutoProfiles.Text" xml:space="preserve">
<value>Automatické profily</value>
</data>
<data name="tabControllers.Text" xml:space="preserve">
<value>Ovladače</value>
</data>
<data name="tabLog.Text" xml:space="preserve">
<value>Protokol</value>
</data> </data>
<data name="tabProfiles.Text" xml:space="preserve"> <data name="tabProfiles.Text" xml:space="preserve">
<value>Profily</value> <value>Profily</value>
</data> </data>
<data name="cMProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="tabSettings.Text" xml:space="preserve">
<value>215, 264</value> <value>Nastavení</value>
</data>
<data name="editToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="editToolStripMenuItem.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="assignToController1ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController1ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.1</value>
</data>
<data name="assignToController2ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController2ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.2</value>
</data>
<data name="assignToController3ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController3ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.3</value>
</data>
<data name="assignToController4ToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="assignToController4ToolStripMenuItem.Text" xml:space="preserve">
<value>Přiřadit ovladači č.4</value>
</data>
<data name="deleteToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="deleteToolStripMenuItem.Text" xml:space="preserve">
<value>Odstranit (Del)</value>
</data>
<data name="duplicateToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="duplicateToolStripMenuItem.Text" xml:space="preserve">
<value>Duplikovat (Ctrl+D)</value>
</data>
<data name="newProfileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="newProfileToolStripMenuItem.Text" xml:space="preserve">
<value>Nový profil</value>
</data>
<data name="importToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="importToolStripMenuItem.Text" xml:space="preserve">
<value>Importovat</value>
</data>
<data name="exportToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 26</value>
</data>
<data name="exportToolStripMenuItem.Text" xml:space="preserve">
<value>Exportovat</value>
</data>
<data name="tSOptions.Text" xml:space="preserve">
<value>Možnosti profilu</value>
</data> </data>
<data name="toolStripLabel1.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolStripLabel1.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 24</value> <value>98, 24</value>
@ -370,14 +550,8 @@
<data name="toolStripLabel1.Text" xml:space="preserve"> <data name="toolStripLabel1.Text" xml:space="preserve">
<value>Název profilu</value> <value>Název profilu</value>
</data> </data>
<data name="tSTBProfile.Text" xml:space="preserve"> <data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing">
<value>&lt;zadejte název profilu&gt;</value> <value>300, 6</value>
</data>
<data name="tSBSaveProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>112, 24</value>
</data>
<data name="tSBSaveProfile.Text" xml:space="preserve">
<value>Uložit profil</value>
</data> </data>
<data name="tSBCancel.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSBCancel.Size" type="System.Drawing.Size, System.Drawing">
<value>70, 24</value> <value>70, 24</value>
@ -385,30 +559,6 @@
<data name="tSBCancel.Text" xml:space="preserve"> <data name="tSBCancel.Text" xml:space="preserve">
<value>Zrušit</value> <value>Zrušit</value>
</data> </data>
<data name="tSBKeepSize.Size" type="System.Drawing.Size, System.Drawing">
<value>207, 24</value>
</data>
<data name="tSBKeepSize.Text" xml:space="preserve">
<value>Pamatovat si velikost okna</value>
</data>
<data name="tsBNewProfle.Size" type="System.Drawing.Size, System.Drawing">
<value>67, 24</value>
</data>
<data name="tsBNewProfle.Text" xml:space="preserve">
<value>Nový</value>
</data>
<data name="tsBNewProfle.ToolTipText" xml:space="preserve">
<value>Vytvořit nový profil</value>
</data>
<data name="tsBEditProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>80, 24</value>
</data>
<data name="tsBEditProfile.Text" xml:space="preserve">
<value>Změnit</value>
</data>
<data name="tsBEditProfile.ToolTipText" xml:space="preserve">
<value>Upravit vybraný profil (Enter)</value>
</data>
<data name="tsBDeleteProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="tsBDeleteProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>94, 24</value> <value>94, 24</value>
</data> </data>
@ -427,14 +577,14 @@
<data name="tSBDupProfile.ToolTipText" xml:space="preserve"> <data name="tSBDupProfile.ToolTipText" xml:space="preserve">
<value>Duplikovat vybraný profil (Ctrl+D)</value> <value>Duplikovat vybraný profil (Ctrl+D)</value>
</data> </data>
<data name="tSBImportProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="tsBEditProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>107, 24</value> <value>80, 24</value>
</data> </data>
<data name="tSBImportProfile.Text" xml:space="preserve"> <data name="tsBEditProfile.Text" xml:space="preserve">
<value>Importovat</value> <value>Změnit</value>
</data> </data>
<data name="tSBImportProfile.ToolTipText" xml:space="preserve"> <data name="tsBEditProfile.ToolTipText" xml:space="preserve">
<value>Importovat profil</value> <value>Upravit vybraný profil (Enter)</value>
</data> </data>
<data name="tSBExportProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSBExportProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>105, 24</value> <value>105, 24</value>
@ -445,179 +595,41 @@
<data name="tSBExportProfile.ToolTipText" xml:space="preserve"> <data name="tSBExportProfile.ToolTipText" xml:space="preserve">
<value>Exportovat vybraný profil</value> <value>Exportovat vybraný profil</value>
</data> </data>
<data name="tabAutoProfiles.Text" xml:space="preserve"> <data name="tSBImportProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>Automatické profily</value> <value>107, 24</value>
</data> </data>
<data name="tabSettings.Text" xml:space="preserve"> <data name="tSBImportProfile.Text" xml:space="preserve">
<value>Nastavení</value> <value>Importovat</value>
</data> </data>
<data name="hideDS4CheckBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSBImportProfile.ToolTipText" xml:space="preserve">
<value>146, 21</value> <value>Importovat profil</value>
</data> </data>
<data name="hideDS4CheckBox.Text" xml:space="preserve"> <data name="tSBKeepSize.Size" type="System.Drawing.Size, System.Drawing">
<value>Skrýt DS4 ovladač</value> <value>207, 24</value>
</data> </data>
<data name="cBSwipeProfiles.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSBKeepSize.Text" xml:space="preserve">
<value>289, 21</value> <value>Pamatovat si velikost okna</value>
</data> </data>
<data name="cBSwipeProfiles.Text" xml:space="preserve"> <data name="tsBNewProfle.Size" type="System.Drawing.Size, System.Drawing">
<value>Pro změnu profilu přejeďte po touchpadu</value> <value>67, 24</value>
</data> </data>
<data name="StartWindowsCheckBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="tsBNewProfle.Text" xml:space="preserve">
<value>189, 21</value> <value>Nový</value>
</data> </data>
<data name="StartWindowsCheckBox.Text" xml:space="preserve"> <data name="tsBNewProfle.ToolTipText" xml:space="preserve">
<value>Spustit při startu systému</value> <value>Vytvořit nový profil</value>
</data> </data>
<data name="startMinimizedCheckBox.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSBSaveProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>173, 21</value> <value>112, 24</value>
</data> </data>
<data name="startMinimizedCheckBox.Text" xml:space="preserve"> <data name="tSBSaveProfile.Text" xml:space="preserve">
<value>Spustit minimalizovaně</value> <value>Uložit profil</value>
</data> </data>
<data name="lbNotifications.Size" type="System.Drawing.Size, System.Drawing"> <data name="tSOptions.Text" xml:space="preserve">
<value>125, 17</value> <value>Možnosti profilu</value>
</data> </data>
<data name="lbNotifications.Text" xml:space="preserve"> <data name="tSTBProfile.Text" xml:space="preserve">
<value>Zobrazit oznámení</value> <value>&lt;zadejte název profilu&gt;</value>
</data>
<data name="cBoxNotifications.Items" xml:space="preserve">
<value>Žádný</value>
</data>
<data name="cBoxNotifications.Items1" xml:space="preserve">
<value>Pouze varování</value>
</data>
<data name="cBoxNotifications.Items2" xml:space="preserve">
<value>Vše</value>
</data>
<data name="cBDisconnectBT.Size" type="System.Drawing.Size, System.Drawing">
<value>201, 21</value>
</data>
<data name="cBDisconnectBT.Text" xml:space="preserve">
<value>Odpojit od BT při zastavení</value>
</data>
<data name="panel2.Size" type="System.Drawing.Size, System.Drawing">
<value>266, 28</value>
</data>
<data name="nUDLatency.Location" type="System.Drawing.Point, System.Drawing">
<value>174, 2</value>
</data>
<data name="lbMsLatency.Location" type="System.Drawing.Point, System.Drawing">
<value>237, 5</value>
</data>
<data name="cBFlashWhenLate.Size" type="System.Drawing.Size, System.Drawing">
<value>177, 21</value>
</data>
<data name="cBFlashWhenLate.Text" xml:space="preserve">
<value>Blikat při vysoké latenci</value>
</data>
<data name="cBCloseMini.Size" type="System.Drawing.Size, System.Drawing">
<value>181, 21</value>
</data>
<data name="cBCloseMini.Text" xml:space="preserve">
<value>Zavřít při minimalizování</value>
</data>
<data name="cBQuickCharge.Size" type="System.Drawing.Size, System.Drawing">
<value>126, 21</value>
</data>
<data name="cBQuickCharge.Text" xml:space="preserve">
<value>Rychlé nabíjení</value>
</data>
<data name="cBDownloadLangauge.Size" type="System.Drawing.Size, System.Drawing">
<value>348, 21</value>
</data>
<data name="cBDownloadLangauge.Text" xml:space="preserve">
<value>Při aktualizaci stáhnout také nové jazykové balíčky</value>
</data>
<data name="cBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>253, 21</value>
</data>
<data name="cBUpdate.Text" xml:space="preserve">
<value>Při spuštění kontrolovat aktualizace</value>
</data>
<data name="pNUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>289, 28</value>
</data>
<data name="cBUpdateTime.Items" xml:space="preserve">
<value>hodin</value>
</data>
<data name="cBUpdateTime.Items1" xml:space="preserve">
<value>dní</value>
</data>
<data name="cBUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>211, 0</value>
</data>
<data name="lbCheckEvery.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 17</value>
</data>
<data name="lbCheckEvery.Text" xml:space="preserve">
<value>Kontrolovat kažých</value>
</data>
<data name="nUDUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>148, 1</value>
</data>
<data name="pnlXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>253, 28</value>
</data>
<data name="lbUseXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>127, 17</value>
</data>
<data name="lbUseXIPorts.Text" xml:space="preserve">
<value>Použít Xinput porty</value>
</data>
<data name="nUDXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 1</value>
</data>
<data name="lbLastXIPort.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 4</value>
</data>
<data name="flowLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>369, 13</value>
</data>
<data name="flowLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>185, 85</value>
</data>
<data name="linkProfiles.Size" type="System.Drawing.Size, System.Drawing">
<value>93, 17</value>
</data>
<data name="linkProfiles.Text" xml:space="preserve">
<value>Složka profilu</value>
</data>
<data name="lnkControllers.Size" type="System.Drawing.Size, System.Drawing">
<value>102, 17</value>
</data>
<data name="lnkControllers.Text" xml:space="preserve">
<value>Ovládací panel</value>
</data>
<data name="linkUninstall.Size" type="System.Drawing.Size, System.Drawing">
<value>177, 17</value>
</data>
<data name="linkUninstall.Text" xml:space="preserve">
<value>Odinstalovat VBus ovladač</value>
</data>
<data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing">
<value>132, 17</value>
</data>
<data name="linkSetup.Text" xml:space="preserve">
<value>Nastavení ovladače</value>
</data>
<data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>162, 17</value>
</data>
<data name="lLBUpdate.Text" xml:space="preserve">
<value>Zkontrolovat aktualizace</value>
</data>
<data name="tabLog.Text" xml:space="preserve">
<value>Protokol</value>
</data>
<data name="cMCustomLed.Size" type="System.Drawing.Size, System.Drawing">
<value>214, 56</value>
</data>
<data name="useProfileColorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>213, 26</value>
</data>
<data name="useProfileColorToolStripMenuItem.Text" xml:space="preserve">
<value>Použít barvu profilu</value>
</data> </data>
<data name="useCustomColorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing"> <data name="useCustomColorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>213, 26</value> <value>213, 26</value>
@ -625,16 +637,10 @@
<data name="useCustomColorToolStripMenuItem.Text" xml:space="preserve"> <data name="useCustomColorToolStripMenuItem.Text" xml:space="preserve">
<value>Použít vlastní barvu</value> <value>Použít vlastní barvu</value>
</data> </data>
<data name="btnStartStop.Text" xml:space="preserve"> <data name="useProfileColorToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>Start</value> <value>213, 26</value>
</data> </data>
<data name="chData.Text" xml:space="preserve"> <data name="useProfileColorToolStripMenuItem.Text" xml:space="preserve">
<value>Data</value> <value>Použít barvu profilu</value>
</data>
<data name="lbID.Text" xml:space="preserve">
<value>ID</value>
</data>
<data name="startToolStripMenuItem.Text" xml:space="preserve">
<value>Start</value>
</data> </data>
</root> </root>

View File

@ -454,7 +454,7 @@
<value>0</value> <value>0</value>
</data> </data>
<data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms"> <data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62.29144,Percent,20.02225,Percent,17.68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,83" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value> <value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62,29144,Percent,20,02225,Percent,17,68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,90" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data> </data>
<data name="&gt;&gt;lbNoControllers.Name" xml:space="preserve"> <data name="&gt;&gt;lbNoControllers.Name" xml:space="preserve">
<value>lbNoControllers</value> <value>lbNoControllers</value>
@ -1062,24 +1062,6 @@
<data name="&gt;&gt;cBUpdate.ZOrder" xml:space="preserve"> <data name="&gt;&gt;cBUpdate.ZOrder" xml:space="preserve">
<value>11</value> <value>11</value>
</data> </data>
<data name="cBUpdateTime.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="cBUpdateTime.Items" xml:space="preserve">
<value>hours</value>
</data>
<data name="cBUpdateTime.Items1" xml:space="preserve">
<value>days</value>
</data>
<data name="cBUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>126, 0</value>
</data>
<data name="cBUpdateTime.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 21</value>
</data>
<data name="cBUpdateTime.TabIndex" type="System.Int32, mscorlib">
<value>43</value>
</data>
<data name="&gt;&gt;cBUpdateTime.Name" xml:space="preserve"> <data name="&gt;&gt;cBUpdateTime.Name" xml:space="preserve">
<value>cBUpdateTime</value> <value>cBUpdateTime</value>
</data> </data>
@ -1092,27 +1074,6 @@
<data name="&gt;&gt;cBUpdateTime.ZOrder" xml:space="preserve"> <data name="&gt;&gt;cBUpdateTime.ZOrder" xml:space="preserve">
<value>0</value> <value>0</value>
</data> </data>
<data name="lbCheckEvery.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="lbCheckEvery.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbCheckEvery.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbCheckEvery.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="lbCheckEvery.Size" type="System.Drawing.Size, System.Drawing">
<value>67, 13</value>
</data>
<data name="lbCheckEvery.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbCheckEvery.Text" xml:space="preserve">
<value>Check every</value>
</data>
<data name="&gt;&gt;lbCheckEvery.Name" xml:space="preserve"> <data name="&gt;&gt;lbCheckEvery.Name" xml:space="preserve">
<value>lbCheckEvery</value> <value>lbCheckEvery</value>
</data> </data>
@ -1125,18 +1086,6 @@
<data name="&gt;&gt;lbCheckEvery.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lbCheckEvery.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<data name="nUDUpdateTime.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="nUDUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>76, 1</value>
</data>
<data name="nUDUpdateTime.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="nUDUpdateTime.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
</data>
<data name="&gt;&gt;nUDUpdateTime.Name" xml:space="preserve"> <data name="&gt;&gt;nUDUpdateTime.Name" xml:space="preserve">
<value>nUDUpdateTime</value> <value>nUDUpdateTime</value>
</data> </data>
@ -1173,27 +1122,6 @@
<data name="&gt;&gt;pNUpdate.ZOrder" xml:space="preserve"> <data name="&gt;&gt;pNUpdate.ZOrder" xml:space="preserve">
<value>12</value> <value>12</value>
</data> </data>
<data name="lbUseXIPorts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="lbUseXIPorts.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbUseXIPorts.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbUseXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="lbUseXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>86, 13</value>
</data>
<data name="lbUseXIPorts.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbUseXIPorts.Text" xml:space="preserve">
<value>Use Xinput Ports</value>
</data>
<data name="&gt;&gt;lbUseXIPorts.Name" xml:space="preserve"> <data name="&gt;&gt;lbUseXIPorts.Name" xml:space="preserve">
<value>lbUseXIPorts</value> <value>lbUseXIPorts</value>
</data> </data>
@ -1206,18 +1134,6 @@
<data name="&gt;&gt;lbUseXIPorts.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lbUseXIPorts.ZOrder" xml:space="preserve">
<value>0</value> <value>0</value>
</data> </data>
<data name="nUDXIPorts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="nUDXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>100, 1</value>
</data>
<data name="nUDXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="nUDXIPorts.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
</data>
<data name="&gt;&gt;nUDXIPorts.Name" xml:space="preserve"> <data name="&gt;&gt;nUDXIPorts.Name" xml:space="preserve">
<value>nUDXIPorts</value> <value>nUDXIPorts</value>
</data> </data>
@ -1230,27 +1146,6 @@
<data name="&gt;&gt;nUDXIPorts.ZOrder" xml:space="preserve"> <data name="&gt;&gt;nUDXIPorts.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<data name="lbLastXIPort.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="lbLastXIPort.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbLastXIPort.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbLastXIPort.Location" type="System.Drawing.Point, System.Drawing">
<value>150, 3</value>
</data>
<data name="lbLastXIPort.Size" type="System.Drawing.Size, System.Drawing">
<value>19, 13</value>
</data>
<data name="lbLastXIPort.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbLastXIPort.Text" xml:space="preserve">
<value>- 4</value>
</data>
<data name="&gt;&gt;lbLastXIPort.Name" xml:space="preserve"> <data name="&gt;&gt;lbLastXIPort.Name" xml:space="preserve">
<value>lbLastXIPort</value> <value>lbLastXIPort</value>
</data> </data>
@ -1284,27 +1179,39 @@
<data name="&gt;&gt;pnlXIPorts.ZOrder" xml:space="preserve"> <data name="&gt;&gt;pnlXIPorts.ZOrder" xml:space="preserve">
<value>13</value> <value>13</value>
</data> </data>
<data name="languagePackComboBox1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="languagePackComboBox1.InvariantCultureText" xml:space="preserve">
<value>No (English UI)</value>
</data>
<data name="languagePackComboBox1.LabelText" xml:space="preserve">
<value>Use language pack</value>
</data>
<data name="languagePackComboBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>274, 89</value>
</data>
<data name="languagePackComboBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>260, 27</value>
</data>
<data name="languagePackComboBox1.TabIndex" type="System.Int32, mscorlib">
<value>60</value>
</data>
<data name="&gt;&gt;languagePackComboBox1.Name" xml:space="preserve">
<value>languagePackComboBox1</value>
</data>
<data name="&gt;&gt;languagePackComboBox1.Type" xml:space="preserve">
<value>DS4Windows.DS4Forms.LanguagePackComboBox, DS4Windows, Version=1.4.106.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;languagePackComboBox1.Parent" xml:space="preserve">
<value>fLPSettings</value>
</data>
<data name="&gt;&gt;languagePackComboBox1.ZOrder" xml:space="preserve">
<value>14</value>
</data>
<data name="flowLayoutPanel1.AutoSize" type="System.Boolean, mscorlib"> <data name="flowLayoutPanel1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value> <value>True</value>
</data> </data>
<data name="linkProfiles.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkProfiles.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkProfiles.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 0</value>
</data>
<data name="linkProfiles.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 13</value>
</data>
<data name="linkProfiles.TabIndex" type="System.Int32, mscorlib">
<value>50</value>
</data>
<data name="linkProfiles.Text" xml:space="preserve">
<value>Profile folder</value>
</data>
<data name="&gt;&gt;linkProfiles.Name" xml:space="preserve"> <data name="&gt;&gt;linkProfiles.Name" xml:space="preserve">
<value>linkProfiles</value> <value>linkProfiles</value>
</data> </data>
@ -1317,24 +1224,6 @@
<data name="&gt;&gt;linkProfiles.ZOrder" xml:space="preserve"> <data name="&gt;&gt;linkProfiles.ZOrder" xml:space="preserve">
<value>0</value> <value>0</value>
</data> </data>
<data name="lnkControllers.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lnkControllers.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lnkControllers.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 13</value>
</data>
<data name="lnkControllers.Size" type="System.Drawing.Size, System.Drawing">
<value>70, 13</value>
</data>
<data name="lnkControllers.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="lnkControllers.Text" xml:space="preserve">
<value>Control Panel</value>
</data>
<data name="&gt;&gt;lnkControllers.Name" xml:space="preserve"> <data name="&gt;&gt;lnkControllers.Name" xml:space="preserve">
<value>lnkControllers</value> <value>lnkControllers</value>
</data> </data>
@ -1347,27 +1236,6 @@
<data name="&gt;&gt;lnkControllers.ZOrder" xml:space="preserve"> <data name="&gt;&gt;lnkControllers.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<data name="linkUninstall.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkUninstall.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkUninstall.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 26</value>
</data>
<data name="linkUninstall.Size" type="System.Drawing.Size, System.Drawing">
<value>106, 13</value>
</data>
<data name="linkUninstall.TabIndex" type="System.Int32, mscorlib">
<value>44</value>
</data>
<data name="linkUninstall.Text" xml:space="preserve">
<value>Uninstall VBus Driver</value>
</data>
<data name="linkUninstall.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleCenter</value>
</data>
<data name="&gt;&gt;linkUninstall.Name" xml:space="preserve"> <data name="&gt;&gt;linkUninstall.Name" xml:space="preserve">
<value>linkUninstall</value> <value>linkUninstall</value>
</data> </data>
@ -1380,24 +1248,6 @@
<data name="&gt;&gt;linkUninstall.ZOrder" xml:space="preserve"> <data name="&gt;&gt;linkUninstall.ZOrder" xml:space="preserve">
<value>2</value> <value>2</value>
</data> </data>
<data name="linkSetup.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkSetup.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkSetup.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 39</value>
</data>
<data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing">
<value>115, 13</value>
</data>
<data name="linkSetup.TabIndex" type="System.Int32, mscorlib">
<value>52</value>
</data>
<data name="linkSetup.Text" xml:space="preserve">
<value>Controller/Driver Setup</value>
</data>
<data name="&gt;&gt;linkSetup.Name" xml:space="preserve"> <data name="&gt;&gt;linkSetup.Name" xml:space="preserve">
<value>linkSetup</value> <value>linkSetup</value>
</data> </data>
@ -1410,27 +1260,6 @@
<data name="&gt;&gt;linkSetup.ZOrder" xml:space="preserve"> <data name="&gt;&gt;linkSetup.ZOrder" xml:space="preserve">
<value>3</value> <value>3</value>
</data> </data>
<data name="lLBUpdate.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lLBUpdate.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lLBUpdate.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 52</value>
</data>
<data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>116, 13</value>
</data>
<data name="lLBUpdate.TabIndex" type="System.Int32, mscorlib">
<value>49</value>
</data>
<data name="lLBUpdate.Text" xml:space="preserve">
<value>Check for Update Now</value>
</data>
<data name="lLBUpdate.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleCenter</value>
</data>
<data name="&gt;&gt;lLBUpdate.Name" xml:space="preserve"> <data name="&gt;&gt;lLBUpdate.Name" xml:space="preserve">
<value>lLBUpdate</value> <value>lLBUpdate</value>
</data> </data>
@ -1447,7 +1276,7 @@
<value>TopDown</value> <value>TopDown</value>
</data> </data>
<data name="flowLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing"> <data name="flowLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>274, 89</value> <value>274, 122</value>
</data> </data>
<data name="flowLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing"> <data name="flowLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>122, 65</value> <value>122, 65</value>
@ -1465,7 +1294,7 @@
<value>fLPSettings</value> <value>fLPSettings</value>
</data> </data>
<data name="&gt;&gt;flowLayoutPanel1.ZOrder" xml:space="preserve"> <data name="&gt;&gt;flowLayoutPanel1.ZOrder" xml:space="preserve">
<value>14</value> <value>15</value>
</data> </data>
<data name="fLPSettings.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="fLPSettings.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -2014,7 +1843,7 @@
<value>0</value> <value>0</value>
</data> </data>
<data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms"> <data name="tLPControllers.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62.29144,Percent,20.02225,Percent,17.68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,83" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value> <value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="bnLight3" Row="3" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus1" Row="1" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbPad1" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad2" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC3" Row="3" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC4" Row="4" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="lbPad3" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbPad4" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="cBController1" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC2" Row="2" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController2" Row="2" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="cBController3" Row="3" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="bnEditC1" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /&gt;&lt;Control Name="cBController4" Row="4" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbSelectedProfile" Row="0" RowSpan="1" Column="4" ColumnSpan="1" /&gt;&lt;Control Name="lbID" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="lbStatus" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="lbBattery" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt1" Row="1" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt2" Row="2" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt3" Row="3" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="lbBatt4" Row="4" RowSpan="1" Column="2" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus2" Row="2" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus3" Row="3" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="pBStatus4" Row="4" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;Control Name="bnLight1" Row="1" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight2" Row="2" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="bnLight4" Row="4" RowSpan="1" Column="6" ColumnSpan="1" /&gt;&lt;Control Name="lbLinkProfile" Row="0" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB1" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB2" Row="2" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB3" Row="3" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;Control Name="linkCB4" Row="4" RowSpan="1" Column="3" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,62,29144,Percent,20,02225,Percent,17,68632,Absolute,80,AutoSize,0,AutoSize,0,Absolute,90" /&gt;&lt;Rows Styles="AutoSize,0,Percent,25,Percent,25,Percent,25,Percent,25" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data> </data>
<data name="bnLight3.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms"> <data name="bnLight3.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value> <value>Fill</value>
@ -2026,10 +1855,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight3.Location" type="System.Drawing.Point, System.Drawing">
<value>814, 89</value> <value>807, 89</value>
</data> </data>
<data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight3.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 22</value> <value>86, 22</value>
</data> </data>
<data name="bnLight3.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight3.TabIndex" type="System.Int32, mscorlib">
<value>50</value> <value>50</value>
@ -2053,7 +1882,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus1.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 34</value> <value>391, 34</value>
</data> </data>
<data name="pBStatus1.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus1.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -2155,7 +1984,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC3.Location" type="System.Drawing.Point, System.Drawing">
<value>774, 89</value> <value>767, 89</value>
</data> </data>
<data name="bnEditC3.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC3.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -2185,7 +2014,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC4.Location" type="System.Drawing.Point, System.Drawing">
<value>774, 117</value> <value>767, 117</value>
</data> </data>
<data name="bnEditC4.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC4.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -2284,7 +2113,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController1.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController1.Location" type="System.Drawing.Point, System.Drawing">
<value>657, 33</value> <value>650, 33</value>
</data> </data>
<data name="cBController1.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController1.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -2311,7 +2140,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC2.Location" type="System.Drawing.Point, System.Drawing">
<value>774, 61</value> <value>767, 61</value>
</data> </data>
<data name="bnEditC2.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC2.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -2338,7 +2167,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController2.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController2.Location" type="System.Drawing.Point, System.Drawing">
<value>657, 61</value> <value>650, 61</value>
</data> </data>
<data name="cBController2.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController2.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -2362,7 +2191,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController3.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController3.Location" type="System.Drawing.Point, System.Drawing">
<value>657, 89</value> <value>650, 89</value>
</data> </data>
<data name="cBController3.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController3.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -2389,7 +2218,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnEditC1.Location" type="System.Drawing.Point, System.Drawing">
<value>774, 33</value> <value>767, 33</value>
</data> </data>
<data name="bnEditC1.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnEditC1.Size" type="System.Drawing.Size, System.Drawing">
<value>34, 22</value> <value>34, 22</value>
@ -2416,7 +2245,7 @@
<value>None</value> <value>None</value>
</data> </data>
<data name="cBController4.Location" type="System.Drawing.Point, System.Drawing"> <data name="cBController4.Location" type="System.Drawing.Point, System.Drawing">
<value>657, 117</value> <value>650, 117</value>
</data> </data>
<data name="cBController4.Size" type="System.Drawing.Size, System.Drawing"> <data name="cBController4.Size" type="System.Drawing.Size, System.Drawing">
<value>111, 21</value> <value>111, 21</value>
@ -2449,7 +2278,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbSelectedProfile.Location" type="System.Drawing.Point, System.Drawing">
<value>658, 7</value> <value>651, 7</value>
</data> </data>
<data name="lbSelectedProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbSelectedProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>109, 15</value> <value>109, 15</value>
@ -2521,7 +2350,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbStatus.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>392, 7</value> <value>387, 7</value>
</data> </data>
<data name="lbStatus.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>47, 15</value> <value>47, 15</value>
@ -2557,7 +2386,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBattery.Location" type="System.Drawing.Point, System.Drawing">
<value>498, 7</value> <value>491, 7</value>
</data> </data>
<data name="lbBattery.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBattery.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 15</value> <value>51, 15</value>
@ -2593,7 +2422,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt1.Location" type="System.Drawing.Point, System.Drawing">
<value>504, 36</value> <value>497, 36</value>
</data> </data>
<data name="lbBatt1.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt1.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -2629,7 +2458,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt2.Location" type="System.Drawing.Point, System.Drawing">
<value>504, 64</value> <value>497, 64</value>
</data> </data>
<data name="lbBatt2.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt2.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -2665,7 +2494,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt3.Location" type="System.Drawing.Point, System.Drawing">
<value>504, 92</value> <value>497, 92</value>
</data> </data>
<data name="lbBatt3.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt3.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -2701,7 +2530,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbBatt4.Location" type="System.Drawing.Point, System.Drawing">
<value>504, 120</value> <value>497, 120</value>
</data> </data>
<data name="lbBatt4.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbBatt4.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 15</value> <value>39, 15</value>
@ -2731,7 +2560,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus2.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 62</value> <value>391, 62</value>
</data> </data>
<data name="pBStatus2.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus2.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -2761,7 +2590,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus3.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus3.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 90</value> <value>391, 90</value>
</data> </data>
<data name="pBStatus3.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus3.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -2791,7 +2620,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing"> <data name="pBStatus4.Location" type="System.Drawing.Point, System.Drawing">
<value>396, 118</value> <value>391, 118</value>
</data> </data>
<data name="pBStatus4.Size" type="System.Drawing.Size, System.Drawing"> <data name="pBStatus4.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 20</value> <value>39, 20</value>
@ -2824,10 +2653,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight1.Location" type="System.Drawing.Point, System.Drawing">
<value>814, 33</value> <value>807, 33</value>
</data> </data>
<data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight1.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 22</value> <value>86, 22</value>
</data> </data>
<data name="bnLight1.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight1.TabIndex" type="System.Int32, mscorlib">
<value>50</value> <value>50</value>
@ -2854,10 +2683,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight2.Location" type="System.Drawing.Point, System.Drawing">
<value>814, 61</value> <value>807, 61</value>
</data> </data>
<data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight2.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 22</value> <value>86, 22</value>
</data> </data>
<data name="bnLight2.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight2.TabIndex" type="System.Int32, mscorlib">
<value>51</value> <value>51</value>
@ -2884,10 +2713,10 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing"> <data name="bnLight4.Location" type="System.Drawing.Point, System.Drawing">
<value>814, 117</value> <value>807, 117</value>
</data> </data>
<data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing"> <data name="bnLight4.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 22</value> <value>86, 22</value>
</data> </data>
<data name="bnLight4.TabIndex" type="System.Int32, mscorlib"> <data name="bnLight4.TabIndex" type="System.Int32, mscorlib">
<value>52</value> <value>52</value>
@ -2917,7 +2746,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="lbLinkProfile.Location" type="System.Drawing.Point, System.Drawing"> <data name="lbLinkProfile.Location" type="System.Drawing.Point, System.Drawing">
<value>580, 0</value> <value>573, 0</value>
</data> </data>
<data name="lbLinkProfile.Size" type="System.Drawing.Size, System.Drawing"> <data name="lbLinkProfile.Size" type="System.Drawing.Size, System.Drawing">
<value>67, 30</value> <value>67, 30</value>
@ -2956,7 +2785,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB1.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB1.Location" type="System.Drawing.Point, System.Drawing">
<value>606, 37</value> <value>599, 37</value>
</data> </data>
<data name="linkCB1.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB1.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -2989,7 +2818,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB2.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB2.Location" type="System.Drawing.Point, System.Drawing">
<value>606, 65</value> <value>599, 65</value>
</data> </data>
<data name="linkCB2.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB2.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -3022,7 +2851,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB3.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB3.Location" type="System.Drawing.Point, System.Drawing">
<value>606, 93</value> <value>599, 93</value>
</data> </data>
<data name="linkCB3.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB3.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -3055,7 +2884,7 @@
<value>NoControl</value> <value>NoControl</value>
</data> </data>
<data name="linkCB4.Location" type="System.Drawing.Point, System.Drawing"> <data name="linkCB4.Location" type="System.Drawing.Point, System.Drawing">
<value>606, 121</value> <value>599, 121</value>
</data> </data>
<data name="linkCB4.Size" type="System.Drawing.Size, System.Drawing"> <data name="linkCB4.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 14</value> <value>15, 14</value>
@ -3663,6 +3492,339 @@
<data name="&gt;&gt;cBFlashWhenLate.ZOrder" xml:space="preserve"> <data name="&gt;&gt;cBFlashWhenLate.ZOrder" xml:space="preserve">
<value>2</value> <value>2</value>
</data> </data>
<data name="cBUpdateTime.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="cBUpdateTime.Items" xml:space="preserve">
<value>hours</value>
</data>
<data name="cBUpdateTime.Items1" xml:space="preserve">
<value>days</value>
</data>
<data name="cBUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>126, 0</value>
</data>
<data name="cBUpdateTime.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 21</value>
</data>
<data name="cBUpdateTime.TabIndex" type="System.Int32, mscorlib">
<value>43</value>
</data>
<data name="&gt;&gt;cBUpdateTime.Name" xml:space="preserve">
<value>cBUpdateTime</value>
</data>
<data name="&gt;&gt;cBUpdateTime.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cBUpdateTime.Parent" xml:space="preserve">
<value>pNUpdate</value>
</data>
<data name="&gt;&gt;cBUpdateTime.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="lbCheckEvery.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="lbCheckEvery.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbCheckEvery.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbCheckEvery.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="lbCheckEvery.Size" type="System.Drawing.Size, System.Drawing">
<value>67, 13</value>
</data>
<data name="lbCheckEvery.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbCheckEvery.Text" xml:space="preserve">
<value>Check every</value>
</data>
<data name="&gt;&gt;lbCheckEvery.Name" xml:space="preserve">
<value>lbCheckEvery</value>
</data>
<data name="&gt;&gt;lbCheckEvery.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lbCheckEvery.Parent" xml:space="preserve">
<value>pNUpdate</value>
</data>
<data name="&gt;&gt;lbCheckEvery.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="nUDUpdateTime.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="nUDUpdateTime.Location" type="System.Drawing.Point, System.Drawing">
<value>76, 1</value>
</data>
<data name="nUDUpdateTime.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="nUDUpdateTime.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
</data>
<data name="&gt;&gt;nUDUpdateTime.Name" xml:space="preserve">
<value>nUDUpdateTime</value>
</data>
<data name="&gt;&gt;nUDUpdateTime.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;nUDUpdateTime.Parent" xml:space="preserve">
<value>pNUpdate</value>
</data>
<data name="&gt;&gt;nUDUpdateTime.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="lbUseXIPorts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="lbUseXIPorts.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbUseXIPorts.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbUseXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="lbUseXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>86, 13</value>
</data>
<data name="lbUseXIPorts.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbUseXIPorts.Text" xml:space="preserve">
<value>Use Xinput Ports</value>
</data>
<data name="&gt;&gt;lbUseXIPorts.Name" xml:space="preserve">
<value>lbUseXIPorts</value>
</data>
<data name="&gt;&gt;lbUseXIPorts.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lbUseXIPorts.Parent" xml:space="preserve">
<value>pnlXIPorts</value>
</data>
<data name="&gt;&gt;lbUseXIPorts.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="nUDXIPorts.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="nUDXIPorts.Location" type="System.Drawing.Point, System.Drawing">
<value>100, 1</value>
</data>
<data name="nUDXIPorts.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 20</value>
</data>
<data name="nUDXIPorts.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
</data>
<data name="&gt;&gt;nUDXIPorts.Name" xml:space="preserve">
<value>nUDXIPorts</value>
</data>
<data name="&gt;&gt;nUDXIPorts.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;nUDXIPorts.Parent" xml:space="preserve">
<value>pnlXIPorts</value>
</data>
<data name="&gt;&gt;nUDXIPorts.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="lbLastXIPort.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="lbLastXIPort.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lbLastXIPort.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lbLastXIPort.Location" type="System.Drawing.Point, System.Drawing">
<value>150, 3</value>
</data>
<data name="lbLastXIPort.Size" type="System.Drawing.Size, System.Drawing">
<value>19, 13</value>
</data>
<data name="lbLastXIPort.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="lbLastXIPort.Text" xml:space="preserve">
<value>- 4</value>
</data>
<data name="&gt;&gt;lbLastXIPort.Name" xml:space="preserve">
<value>lbLastXIPort</value>
</data>
<data name="&gt;&gt;lbLastXIPort.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lbLastXIPort.Parent" xml:space="preserve">
<value>pnlXIPorts</value>
</data>
<data name="&gt;&gt;lbLastXIPort.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="linkProfiles.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkProfiles.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkProfiles.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 0</value>
</data>
<data name="linkProfiles.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 13</value>
</data>
<data name="linkProfiles.TabIndex" type="System.Int32, mscorlib">
<value>50</value>
</data>
<data name="linkProfiles.Text" xml:space="preserve">
<value>Profile folder</value>
</data>
<data name="&gt;&gt;linkProfiles.Name" xml:space="preserve">
<value>linkProfiles</value>
</data>
<data name="&gt;&gt;linkProfiles.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;linkProfiles.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;linkProfiles.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="lnkControllers.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lnkControllers.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lnkControllers.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 13</value>
</data>
<data name="lnkControllers.Size" type="System.Drawing.Size, System.Drawing">
<value>70, 13</value>
</data>
<data name="lnkControllers.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="lnkControllers.Text" xml:space="preserve">
<value>Control Panel</value>
</data>
<data name="&gt;&gt;lnkControllers.Name" xml:space="preserve">
<value>lnkControllers</value>
</data>
<data name="&gt;&gt;lnkControllers.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lnkControllers.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;lnkControllers.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="linkUninstall.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkUninstall.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkUninstall.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 26</value>
</data>
<data name="linkUninstall.Size" type="System.Drawing.Size, System.Drawing">
<value>106, 13</value>
</data>
<data name="linkUninstall.TabIndex" type="System.Int32, mscorlib">
<value>44</value>
</data>
<data name="linkUninstall.Text" xml:space="preserve">
<value>Uninstall VBus Driver</value>
</data>
<data name="linkUninstall.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleCenter</value>
</data>
<data name="&gt;&gt;linkUninstall.Name" xml:space="preserve">
<value>linkUninstall</value>
</data>
<data name="&gt;&gt;linkUninstall.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;linkUninstall.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;linkUninstall.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="linkSetup.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="linkSetup.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="linkSetup.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 39</value>
</data>
<data name="linkSetup.Size" type="System.Drawing.Size, System.Drawing">
<value>115, 13</value>
</data>
<data name="linkSetup.TabIndex" type="System.Int32, mscorlib">
<value>52</value>
</data>
<data name="linkSetup.Text" xml:space="preserve">
<value>Controller/Driver Setup</value>
</data>
<data name="&gt;&gt;linkSetup.Name" xml:space="preserve">
<value>linkSetup</value>
</data>
<data name="&gt;&gt;linkSetup.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;linkSetup.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;linkSetup.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="lLBUpdate.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="lLBUpdate.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="lLBUpdate.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 52</value>
</data>
<data name="lLBUpdate.Size" type="System.Drawing.Size, System.Drawing">
<value>116, 13</value>
</data>
<data name="lLBUpdate.TabIndex" type="System.Int32, mscorlib">
<value>49</value>
</data>
<data name="lLBUpdate.Text" xml:space="preserve">
<value>Check for Update Now</value>
</data>
<data name="lLBUpdate.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleCenter</value>
</data>
<data name="&gt;&gt;lLBUpdate.Name" xml:space="preserve">
<value>lLBUpdate</value>
</data>
<data name="&gt;&gt;lLBUpdate.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lLBUpdate.Parent" xml:space="preserve">
<value>flowLayoutPanel1</value>
</data>
<data name="&gt;&gt;lLBUpdate.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;exportLogTxtBtn.Name" xml:space="preserve"> <data name="&gt;&gt;exportLogTxtBtn.Name" xml:space="preserve">
<value>exportLogTxtBtn</value> <value>exportLogTxtBtn</value>
</data> </data>
@ -4063,7 +4225,7 @@
<value>advColorDialog</value> <value>advColorDialog</value>
</data> </data>
<data name="&gt;&gt;advColorDialog.Type" xml:space="preserve"> <data name="&gt;&gt;advColorDialog.Type" xml:space="preserve">
<value>DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.4.101.0, Culture=neutral, PublicKeyToken=null</value> <value>DS4Windows.AdvancedColorDialog, DS4Windows, Version=1.4.106.0, Culture=neutral, PublicKeyToken=null</value>
</data> </data>
<data name="&gt;&gt;$this.Name" xml:space="preserve"> <data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>DS4Form</value> <value>DS4Form</value>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,70 @@
namespace DS4Windows.DS4Forms
{
partial class LanguagePackComboBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором компонентов
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LanguagePackComboBox));
this.cbCulture = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// cbCulture
//
resources.ApplyResources(this.cbCulture, "cbCulture");
this.cbCulture.DisplayMember = "Value";
this.cbCulture.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbCulture.FormattingEnabled = true;
this.cbCulture.Name = "cbCulture";
this.cbCulture.ValueMember = "Key";
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
this.label1.SizeChanged += new System.EventHandler(this.LanguagePackComboBox_SizeChanged);
//
// LanguagePackComboBox
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.cbCulture);
this.Controls.Add(this.label1);
this.Name = "LanguagePackComboBox";
this.SizeChanged += new System.EventHandler(this.LanguagePackComboBox_SizeChanged);
this.Resize += new System.EventHandler(this.LanguagePackComboBox_SizeChanged);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ComboBox cbCulture;
private System.Windows.Forms.Label label1;
}
}

View File

@ -0,0 +1,147 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DS4Windows.DS4Forms
{
public partial class LanguagePackComboBox : UserControl
{
private string InvariantCultureTextValue = "No (English UI)";
private TaskCompletionSource<bool> LanguageListInitialized = new TaskCompletionSource<bool>();
[Category("Action")]
[Description("Fires when the combo box selected index is changed.")]
public event EventHandler SelectedIndexChanged;
[Category("Action")]
[Description("Fires when the combo box selected value is changed.")]
public event EventHandler SelectedValueChanged;
[Category("Data")]
[Description("Text used for invariant culture name in the combo box.")]
[Localizable(true)]
public string InvariantCultureText
{
get { return InvariantCultureTextValue; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("InvariantCultureText_Changed call will complete when ready, no need for a warning", "CS4014:Await.Warning")]
set {
InvariantCultureTextValue = value;
InvariantCultureText_Changed(value);
}
}
[Category("Data")]
[Description("Text for label before the combo box.")]
[Localizable(true)]
public string LabelText {
get { return label1.Text; }
set { label1.Text = value; }
}
[Category("Data")]
[Description("If probing path has been changed in App.config, add the same string here.")]
public string ProbingPath { get; set; } = "";
[Category("Data")]
[Description("Filter language assembly file names in order to ont include irrelevant assemblies to the combo box.")]
public string LanguageAssemblyName { get; set; } = "DS4Windows.resources.dll";
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int SelectedIndex
{
get { return cbCulture.SelectedIndex; }
set { cbCulture.SelectedIndex = value; }
}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public string SelectedText
{
get { return cbCulture.SelectedText; }
set { cbCulture.SelectedText = value; }
}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public object SelectedValue
{
get { return cbCulture.SelectedValue; }
set { cbCulture.SelectedValue = value; }
}
public LanguagePackComboBox()
{
InitializeComponent();
cbCulture.Enabled = false;
Task.Run(() => {
// Find available language assemblies and bind the list to the combo box.
cbCulture.DataSource = CreateLanguageAssembliesBindingSource();
cbCulture.SelectedValue = Thread.CurrentThread.CurrentUICulture.Name;
// This must be set here instead of Designer or event would fire at initial selected value setting above.
cbCulture.SelectedIndexChanged += new EventHandler(CbCulture_SelectedIndexChanged);
cbCulture.SelectedValueChanged += new EventHandler(CbCulture_SelectedValueChanged);
cbCulture.Enabled = true;
LanguageListInitialized.SetResult(true);
});
}
private BindingSource CreateLanguageAssembliesBindingSource()
{
// Find the location where application installed.
string exeLocation = Path.GetDirectoryName(Uri.UnescapeDataString(new UriBuilder(Assembly.GetExecutingAssembly().CodeBase).Path));
List<string> lookupPaths = ProbingPath.Split(';')
.Select(path => Path.Combine(exeLocation, path))
.Where(path => path != exeLocation)
.ToList();
lookupPaths.Insert(0, exeLocation);
// Get all culture for which satellite folder found with culture code, then insert invariant culture at the beginning.
List<KeyValuePair<string, string>> cultures = CultureInfo.GetCultures(CultureTypes.AllCultures)
.Where(c => IsLanguageAssemblyAvailable(lookupPaths, c))
.Select(c => new KeyValuePair<string, string>(c.Name, c.NativeName))
.ToList();
cultures.Insert(0, new KeyValuePair<string, string>("", InvariantCultureText));
return new BindingSource(cultures, null);
}
private bool IsLanguageAssemblyAvailable(List<string> lookupPaths, CultureInfo culture)
{
return lookupPaths.Select(path => Path.Combine(path, culture.Name, LanguageAssemblyName))
.Where(path => File.Exists(path))
.Count() > 0;
}
private async Task InvariantCultureText_Changed(string value)
{
// Normally the completion flag will be long set by the time this method is called.
await LanguageListInitialized.Task;
BindingSource dataSource = ((BindingSource)cbCulture.DataSource);
dataSource[0] = new KeyValuePair<string, string>("", value);
}
private void LanguagePackComboBox_SizeChanged(object sender, EventArgs e)
{
cbCulture.Left = label1.Margin.Left + label1.Width + label1.Margin.Right;
cbCulture.Width = Width - cbCulture.Left - cbCulture.Margin.Right - cbCulture.Margin.Left;
}
private void CbCulture_SelectedIndexChanged(object sender, EventArgs e)
{
SelectedIndexChanged?.Invoke(this, e);
}
private void CbCulture_SelectedValueChanged(object sender, EventArgs e)
{
SelectedValueChanged?.Invoke(this, e);
}
}
}

View File

@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cbCulture.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cbCulture.Location" type="System.Drawing.Point, System.Drawing">
<value>112, 3</value>
</data>
<data name="cbCulture.Size" type="System.Drawing.Size, System.Drawing">
<value>145, 21</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cbCulture.TabIndex" type="System.Int32, mscorlib">
<value>61</value>
</data>
<data name="&gt;&gt;cbCulture.Name" xml:space="preserve">
<value>cbCulture</value>
</data>
<data name="&gt;&gt;cbCulture.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cbCulture.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cbCulture.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="label1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Left</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 6</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>100, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>62</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Use language pack</value>
</data>
<data name="label1.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>260, 27</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>LanguagePackComboBox</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@ -159,6 +159,12 @@
<Compile Include="DS4Control\X360Device.designer.cs"> <Compile Include="DS4Control\X360Device.designer.cs">
<DependentUpon>X360Device.cs</DependentUpon> <DependentUpon>X360Device.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="DS4Forms\LanguagePackComboBox.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="DS4Forms\LanguagePackComboBox.Designer.cs">
<DependentUpon>LanguagePackComboBox.cs</DependentUpon>
</Compile>
<Compile Include="DS4Library\DS4Audio.cs" /> <Compile Include="DS4Library\DS4Audio.cs" />
<Compile Include="DS4Library\DS4Device.cs" /> <Compile Include="DS4Library\DS4Device.cs" />
<Compile Include="DS4Library\DS4Devices.cs" /> <Compile Include="DS4Library\DS4Devices.cs" />
@ -589,6 +595,9 @@
<EmbeddedResource Include="DS4Forms\KBM360.zh-Hant.resx"> <EmbeddedResource Include="DS4Forms\KBM360.zh-Hant.resx">
<DependentUpon>KBM360.cs</DependentUpon> <DependentUpon>KBM360.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="DS4Forms\LanguagePackComboBox.resx">
<DependentUpon>LanguagePackComboBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DS4Forms\Options.ar.resx"> <EmbeddedResource Include="DS4Forms\Options.ar.resx">
<DependentUpon>Options.cs</DependentUpon> <DependentUpon>Options.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@ -19,7 +19,7 @@ namespace DS4Windows.Properties {
// class via a tool like ResGen or Visual Studio. // class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen // To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project. // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources { internal class Resources {
@ -1090,6 +1090,15 @@ namespace DS4Windows.Properties {
} }
} }
/// <summary>
/// Looks up a localized string similar to Language pack change will take effect after DS4Windows application is restarted..
/// </summary>
internal static string LanguagePackApplyRestartRequired {
get {
return ResourceManager.GetString("LanguagePackApplyRestartRequired", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Controller *number*&apos;s latency now under 10ms. /// Looks up a localized string similar to Controller *number*&apos;s latency now under 10ms.
/// </summary> /// </summary>

View File

@ -126,6 +126,9 @@
<data name="AddPrograms" xml:space="preserve"> <data name="AddPrograms" xml:space="preserve">
<value>Přidat programy</value> <value>Přidat programy</value>
</data> </data>
<data name="LanguagePackApplyRestartRequired" xml:space="preserve">
<value>Změna jazykového balíčku se projeví po restartu aplikace DS4Windows.</value>
</data>
<data name="TestText" xml:space="preserve"> <data name="TestText" xml:space="preserve">
<value>Test</value> <value>Test</value>
</data> </data>

File diff suppressed because it is too large Load Diff

View File

@ -144,9 +144,15 @@
<data name="Browse" xml:space="preserve"> <data name="Browse" xml:space="preserve">
<value>Обзор…</value> <value>Обзор…</value>
</data> </data>
<data name="CannotMoveFiles" xml:space="preserve">
<value>Невозможно переместить файлы в новое место. Пожалуйста переименуйте папку с DS4Tool в "DS4Windows"</value>
</data>
<data name="CannotWriteHere" xml:space="preserve"> <data name="CannotWriteHere" xml:space="preserve">
<value>Невозможно записать в текущее местоположение. Скопировать настройки в AppData?</value> <value>Невозможно записать в текущее местоположение. Скопировать настройки в AppData?</value>
</data> </data>
<data name="ChargeController" xml:space="preserve">
<value>Зарядите батарею</value>
</data>
<data name="Charged" xml:space="preserve"> <data name="Charged" xml:space="preserve">
<value>Заряжено</value> <value>Заряжено</value>
</data> </data>
@ -231,6 +237,9 @@
<data name="FallBack" xml:space="preserve"> <data name="FallBack" xml:space="preserve">
<value>Вернуть</value> <value>Вернуть</value>
</data> </data>
<data name="FallBackTo" xml:space="preserve">
<value>Вернуть на *button*</value>
</data>
<data name="FifthMouseDown" xml:space="preserve"> <data name="FifthMouseDown" xml:space="preserve">
<value>5-я кнопка мыши Вниз</value> <value>5-я кнопка мыши Вниз</value>
</data> </data>
@ -291,6 +300,9 @@
<data name="InstallDriver" xml:space="preserve"> <data name="InstallDriver" xml:space="preserve">
<value>Установите этот драйвер</value> <value>Установите этот драйвер</value>
</data> </data>
<data name="InstallFailed" xml:space="preserve">
<value>Установка не удалась. Пожалуйста повторите</value>
</data>
<data name="Installing" xml:space="preserve"> <data name="Installing" xml:space="preserve">
<value>Установка...</value> <value>Установка...</value>
</data> </data>
@ -300,6 +312,9 @@
<data name="KeepThisSize" xml:space="preserve"> <data name="KeepThisSize" xml:space="preserve">
<value>Запоминать размер окна после закрытия</value> <value>Запоминать размер окна после закрытия</value>
</data> </data>
<data name="LanguagePackApplyRestartRequired" xml:space="preserve">
<value>Выбранный языковой пакет будет применен после перезапуска приложения DS4Windows.</value>
</data>
<data name="LatencyNotOverTen" xml:space="preserve"> <data name="LatencyNotOverTen" xml:space="preserve">
<value>Задержка *number*-го контроллера сейчас меньше 10 мс</value> <value>Задержка *number*-го контроллера сейчас меньше 10 мс</value>
</data> </data>
@ -426,6 +441,9 @@
<data name="StopLText" xml:space="preserve"> <data name="StopLText" xml:space="preserve">
<value>Ост. лёгкий</value> <value>Ост. лёгкий</value>
</data> </data>
<data name="StoppedDS4Tool" xml:space="preserve">
<value>Остановлена работа DS4Windows</value>
</data>
<data name="StoppedDS4Windows" xml:space="preserve"> <data name="StoppedDS4Windows" xml:space="preserve">
<value>Остановлена работа DS4Windows</value> <value>Остановлена работа DS4Windows</value>
</data> </data>
@ -462,6 +480,12 @@
<data name="TestLText" xml:space="preserve"> <data name="TestLText" xml:space="preserve">
<value>Тест. лёгкого</value> <value>Тест. лёгкого</value>
</data> </data>
<data name="TestText" xml:space="preserve">
<value>Проверка</value>
</data>
<data name="TextDocs" xml:space="preserve">
<value>Текстовый документ (*.txt)</value>
</data>
<data name="TiltDown" xml:space="preserve"> <data name="TiltDown" xml:space="preserve">
<value>Накл. вниз</value> <value>Накл. вниз</value>
</data> </data>
@ -492,6 +516,9 @@
<data name="TypeProfileName" xml:space="preserve"> <data name="TypeProfileName" xml:space="preserve">
<value>введите сюда имя профиля</value> <value>введите сюда имя профиля</value>
</data> </data>
<data name="Unassigned" xml:space="preserve">
<value>Не назначено</value>
</data>
<data name="UpText" xml:space="preserve"> <data name="UpText" xml:space="preserve">
<value>Вверх</value> <value>Вверх</value>
</data> </data>
@ -525,31 +552,7 @@
<data name="XinputPorts" xml:space="preserve"> <data name="XinputPorts" xml:space="preserve">
<value>Используйте иной порт, если у вас возникла проблема с другой программой эмулятора контроллера X360, такой как SCP's tool</value> <value>Используйте иной порт, если у вас возникла проблема с другой программой эмулятора контроллера X360, такой как SCP's tool</value>
</data> </data>
<data name="StoppedDS4Tool" xml:space="preserve">
<value>Остановлена работа DS4Windows</value>
</data>
<data name="TextDocs" xml:space="preserve">
<value>Текстовый документ (*.txt)</value>
</data>
<data name="CannotMoveFiles" xml:space="preserve">
<value>Невозможно переместить файлы в новое место. Пожалуйста переименуйте папку с DS4Tool в "DS4Windows"</value>
</data>
<data name="ChargeController" xml:space="preserve">
<value>Зарядите батарею</value>
</data>
<data name="FallBackTo" xml:space="preserve">
<value>Вернуть на *button*</value>
</data>
<data name="InstallFailed" xml:space="preserve">
<value>Установка не удалась. Пожалуйста повторите</value>
</data>
<data name="Unassigned" xml:space="preserve">
<value>Не назначено</value>
</data>
<data name="XMLFiles" xml:space="preserve"> <data name="XMLFiles" xml:space="preserve">
<value>XML-файлы (*.xml)</value> <value>XML-файлы (*.xml)</value>
</data> </data>
<data name="TestText" xml:space="preserve">
<value>Проверка</value>
</data>
</root> </root>