hi,
I' ve a small project with few forms. i want to design a menu a one form so that when user clicks on the menu item respective form loads in project.
thanks
Look into the Toolbox, inside Menus & Toolbars for "MainMenuStrip".
Add it to you project, add items into it (its easy, doesn't need to explain), then double click an previously added item and add the code:
Private Sub Item2ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Item2ToolStripMenuItem.Click 'here will be the item you have in menu
Form2.Show() 'here is the form you want to show
End Sub
Hope it helps.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.