Tuesday 7 August 2012

menu strip in vb.net

This tutorial will introduce the Menu Strip object for Visual Basic .NET applications.
 Having a Menu Strip will improve the usability of your application and allow you to expand it more.
 Every professional application has a Menu Strip; just take a look at your web browser!
Menu strip look same when you made complex work in it and its easy to use menu strip in vb.net applications.  

Copy and paste below Code:

Public Class Form1

    Private Sub HelpToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HelpToolStripMenuItem.Click
        MessageBox.Show("this is the help form")
    End Sub

    Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
        Me.Close()
    End Sub

End Class

No comments:

Post a Comment