Skip to content

Commit

Permalink
b2022.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LAB02 Research committed Apr 2, 2022
1 parent d0d0330 commit 1de413c
Show file tree
Hide file tree
Showing 59 changed files with 920 additions and 491 deletions.
54 changes: 43 additions & 11 deletions src/HASS.Agent/Controls/Configuration/ConfigGeneral.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions src/HASS.Agent/Controls/Configuration/ConfigGeneral.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
namespace HASS.Agent.Controls.Configuration
using System.Globalization;
using HASS.Agent.Functions;
using Syncfusion.Windows.Forms;

namespace HASS.Agent.Controls.Configuration
{
public partial class ConfigGeneral : UserControl
{
public ConfigGeneral()
{
InitializeComponent();

BindComboBoxTheme();
}

private void BindComboBoxTheme() => CbLanguage.DrawItem += ComboBoxTheme.DrawItem;

private void ConfigGeneral_Load(object sender, EventArgs e)
{
//
// load all languages
foreach (var lang in Variables.SupportedUILanguages) CbLanguage.Items.Add(lang.DisplayName);

// select the current one
CbLanguage.SelectedItem = Variables.CurrentUICulture.DisplayName;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/HASS.Agent/Controls/Configuration/ConfigHotKey.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1de413c

Please sign in to comment.