When v write any application and execute it , v can one each form only once and second time if u try opening the same form in the same execuation phase it gives an error.
You can open as many instances of a form as you want. If you are getting an exception then it is because your code is faulty. You should post your code (only the part that displays the form) and let us know the details of the exception.
Chances are it is because you are trying to Show a form that has already been Closed. When you Show a form and then Close it the form is destroyed. If you want to then Show the form again you have to create a New instance. If you really want to Show the same instance then you need to Hide the form instead of Closing it.
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.