From bafdc470e39ecfe4a208bdd4e3f15a7ff7ffa93d Mon Sep 17 00:00:00 2001 From: Korney Czukowski Date: Sun, 11 Feb 2018 20:53:10 +0100 Subject: [PATCH] Remove control properties that were used before they had a chance of being set --- DS4Windows/DS4Forms/LanguagePackComboBox.cs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/DS4Windows/DS4Forms/LanguagePackComboBox.cs b/DS4Windows/DS4Forms/LanguagePackComboBox.cs index b626f60..8af630f 100644 --- a/DS4Windows/DS4Forms/LanguagePackComboBox.cs +++ b/DS4Windows/DS4Forms/LanguagePackComboBox.cs @@ -16,6 +16,12 @@ namespace DS4Windows.DS4Forms private string InvariantCultureTextValue = "No (English UI)"; private TaskCompletionSource LanguageListInitialized = new TaskCompletionSource(); + // If probing path has been changed in App.config, add the same string here. + public string ProbingPath = "Lang"; + + // Filter language assembly file names in order to ont include irrelevant assemblies to the combo box. + public string LanguageAssemblyName { get; set; } = "DS4Windows.resources.dll"; + [Category("Action")] [Description("Fires when the combo box selected index is changed.")] public event EventHandler SelectedIndexChanged; @@ -45,14 +51,6 @@ namespace DS4Windows.DS4Forms 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; } = "Lang"; - - [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 {