G
Guest
Hi Guys.
when my application starts, it will check some connection information.
if information does not exist, it will pops up a dialog to let user input
connection information.
after user input information and click Ok, it will to return main screen.
if information is there, it will directly go to main screen.
So,
In the main Entry:
I have wroten source like this:
if (_info == null)
{
Application.Run(new InfoDialog());
}
Application.Run(_mainScreen);
however,the issue is
it pops up InfoDialog, but when I push OK button on InfoDialog.
It go to next step: Application.Run(_mainScreen);
but it does not stop.
what is the problem?
Thanks.
when my application starts, it will check some connection information.
if information does not exist, it will pops up a dialog to let user input
connection information.
after user input information and click Ok, it will to return main screen.
if information is there, it will directly go to main screen.
So,
In the main Entry:
I have wroten source like this:
if (_info == null)
{
Application.Run(new InfoDialog());
}
Application.Run(_mainScreen);
however,the issue is
it pops up InfoDialog, but when I push OK button on InfoDialog.
It go to next step: Application.Run(_mainScreen);
but it does not stop.
what is the problem?
Thanks.