moved Config window localization into the ctor

This commit is contained in:
David Sparer
2018-12-26 15:54:54 -06:00
parent b580da9e9f
commit c623748d27

View File

@@ -283,6 +283,7 @@ namespace mRemoteNG.UI.Window
WindowType = WindowType.Config;
DockPnl = panel;
InitializeComponent();
ApplyLanguage();
}
#endregion
@@ -685,7 +686,6 @@ namespace mRemoteNG.UI.Window
private void Config_Load(object sender, EventArgs e)
{
ApplyLanguage();
_themeManager = ThemeManager.getInstance();
_themeManager.ThemeChanged += ApplyTheme;
ApplyTheme();