Private Sub ChangeLanguage(ByVal lang As String) For Each c As Control In Me.Controls Dim resources As ComponentResourceManager = New ComponentResourceManager(GetType(MainWindow)) resources.ApplyResources(c, c.Name, New CultureInfo(lang)) Next c End Sub
'Controls' is not a member of 'CulturalInfo.MainWindow'.
Window
Form
Controls
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)