how to assign a property to a button in Form1 so as to open Form2???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hprudhvi
    New Member
    • Jun 2010
    • 2

    #1

    how to assign a property to a button in Form1 so as to open Form2???

    Actually i am learning .NET. please help me in this issue... that is i have a form1 and i have a button in it. If i want to open another form named Form2 by clicking on that button how to do that??
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Attach an event handler to the button's click method.
    In the handler function create and show an instance of form2

    Comment

    Working...