Code:
private void loadViewTemplates(string path)
{
foreach (string file in Directory.GetFiles(path, "*.txt"))
{
ToolStripItem subItem = new ToolStripMenuItem();
viewTemplatesToolStripMenuItem.DropDownItems.Add(subItem);
}
}
I have three files in the source directory, they seem to appear as the menu subitem, but the file names did not appear.

Is there a way I can make the file names’ appear instead of invisible? Your help would be much appreciated. Thank you!
Missing the
From MSDN
So the code will be