I have a main form and login form.
I'm calling login form from main form but I can't get to disable main form(I can click on menu)
and also when i click on cancel button(in login form), I want to close both forms.
How to do that?