-
topmost form question
I have another form in my program and I want it to stay the topmost form until it is closed simple right just set topmost = true;
well my problem is that users can still click outside that window and access the menus an things on the other forms. How do I lock it so that the user cannot access any other forms in my project until this one is closed ( besides hiding them of coarse )
-
enabled = false
or something like that.
-
The only problem I have with just disabling the form is that it turns all my forms colors. Is there a way to keep it from changing the color off all the controls on the form?
-
Try this on your second form , it will override the first one and prevents the user from accessing or using other forms .
Code:
SecondForm.ShowDialog();
-