panuvin
Member
Hey all,
I'm in the process of learning VB.NET and have a hopefully simple question regarding forms. I have a main form and I have a button and a main menu link that allows a new form to open. However, if you keep clicking new, the new form will keep opening. I'd like only one form to be open at a time if that's possible. How can I do that? And if it's easy, how can I shade the button and file (in the main menu) if the new form is already open...showing the user they can't open another instance of the form? Thanks so much for your help!
Panuvin
I'm in the process of learning VB.NET and have a hopefully simple question regarding forms. I have a main form and I have a button and a main menu link that allows a new form to open. However, if you keep clicking new, the new form will keep opening. I'd like only one form to be open at a time if that's possible. How can I do that? And if it's easy, how can I shade the button and file (in the main menu) if the new form is already open...showing the user they can't open another instance of the form? Thanks so much for your help!
Panuvin
Last edited: