Button click event (Help me please)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jboy012000
    New Member
    • Oct 2008
    • 1

    Button click event (Help me please)

    Hi All,

    I am trying to write a program in Visual Basic, its a Windows Form Application that shows all my wine making recepies, the way I want to do it is a Main Page loads up when I double click my icon on the desktop, with buttons for each different type of wine, I have designed my layout of the main page, here are my questions,

    I know that to create a click event handler for a button you double click the button control, See the code below.

    Public Class Main

    Private Sub btnGrape_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles btnGrape.Click

    End Sub
    End Class

    Now, what do I need to add so that when I click the btnGrape button it brings up the windows form I added to the project for that type of wine, this window will contain text boxes and images.

    Thanks very much

    John
  • jg007
    Contributor
    • Mar 2008
    • 283

    #2
    you might find this easier to do this project from ms access but I think the answer to your question for to use ' form2.show ' with 'form2' replace with whatever the name of the form is

    if this does not answer please can you explain further what you are trying to do.

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      you badly need to learn the basics first.

      Comment

      Working...