HI all again here with some problem. I m making a project in which i made a form MDI container and on running the application login screen opens within the Main form(MDi).
I want that until user logins he should not b able to access main form or its options.
i have tried
main.Enabed = false
Gaurav arora
0
Junior Poster in Training
Recommended Answers
Jump to PostFirst Dont make the Login form as MDI Child.
When Showing Login Form Use ShowDialog () Instead of Show() to Show the Form Modally and Set Owner is MDI
Ex
LoginForm.ShowDialog(MDIMainForm);
All 3 Replies
selvaganapathy
31
Posting Pro
Gaurav arora
0
Junior Poster in Training
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.