My program has two forms form1 and form2. I want to create a button on form1 to open form2 when the program is running. Not quite sure how to accomplish this. Any help with this question is greatly appreciated.
There is no longer a default instance of a form with the same name. Forms are just classes, and you need to declare an instance of them before you can work with them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.