B
BobRoyAce
I have a login form that I want to show before the Main form loads. I
am currently showing it in the Main form's Load event. If ModalResult
of form does not return as DialogResult.OK, I call Me.Close for the
Main Form.
1) Is best place to show it in Main form's Load event?
2) Is calling Me.Close in Load event the best way to keep the Main form
from ever showing (i.e. quitting the application before it even
appears)?
If answer to either question above is No, please advise as to better
solution.
am currently showing it in the Main form's Load event. If ModalResult
of form does not return as DialogResult.OK, I call Me.Close for the
Main Form.
1) Is best place to show it in Main form's Load event?
2) Is calling Me.Close in Load event the best way to keep the Main form
from ever showing (i.e. quitting the application before it even
appears)?
If answer to either question above is No, please advise as to better
solution.