Sub
SetMemuItemTexts(coll
As
ToolStripItemCollection)
For
Each
Item
As
ToolStripItem
In
coll
If
TypeOf
(Item)
Is
ToolStripMenuItem
Then
Item.Text = My.Resources.ResourceManager.GetString(Item.Text)
SetMemuItemTexts(
DirectCast
(Item, ToolStripMenuItem).DropDownItems)
End
If
Next
End
Sub