Assuming that 'File' is the name of the menu item with that text, you can access it directly by it's name, and add the dropdown item to its collection:
File.DropDownItems.Add("Pdf")
One of the Add overloads allows you to indicate which event handler the click will fire.