1
Suppose you have two Forms, the first Form1 is the main screen to which you give an option to open any other form, when any form is open, the user cannot go to the main form until you close/close form2.
How do I do that?
1
Suppose you have two Forms, the first Form1 is the main screen to which you give an option to open any other form, when any form is open, the user cannot go to the main form until you close/close form2.
How do I do that?
1
You can use . Showdialog();
Example:
Form2 form=new Form2();
form.ShowDialog();
Until the user closes the Form2 screen, he will not be able to do anything on the Form1 screen
Browser other questions tagged c# winforms visual-studio-2015
You are not signed in. Login or sign up in order to post.
Thank you so much for your help. That’s just what I needed!
– Danillo Victtor