Question : How to add Form to Menu Control in VB.Net / VS 2005

I have one Menu Control ..

with sub menus 1,2,3 .. want to map to Form1, Form2, Form3 etc ..!

Also an exit button for Me.Close

how to perform this inside a Menu Control ..!

Answer : How to add Form to Menu Control in VB.Net / VS 2005

Show the form in the sub menu's Click event, like this:

   Private Sub ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem1.Click
       Form1.ShowDialog()
   End Sub

Random Solutions  
 
programming4us programming4us