D
Dan Reber
I have an application that does not transition well between two forms. When
the user starts the app my login form opens, after they login the main form
then opens but there is a few seconds lag between when the login form closes
and the main form opens. Is there a different ways to do this and still have
my login form open first? Below is my Program.cuss code.
frmLogin form = new frmLogin();
Application.Run(form);
if (form .DialogResult == DialogResult.OK)
Application.Run(new frmMain(form.AppConnection));
Also, I have some dialogs that after they are closed a potion of the form is
still painted on the screen while some code is executed based on the
selection in the dialog. Is there a way to make sure that the code that is
executed after the close of the dialog does not start until after the dialog
forms have be completely removed from the screen?
Thanks
Dan
the user starts the app my login form opens, after they login the main form
then opens but there is a few seconds lag between when the login form closes
and the main form opens. Is there a different ways to do this and still have
my login form open first? Below is my Program.cuss code.
frmLogin form = new frmLogin();
Application.Run(form);
if (form .DialogResult == DialogResult.OK)
Application.Run(new frmMain(form.AppConnection));
Also, I have some dialogs that after they are closed a potion of the form is
still painted on the screen while some code is executed based on the
selection in the dialog. Is there a way to make sure that the code that is
executed after the close of the dialog does not start until after the dialog
forms have be completely removed from the screen?
Thanks
Dan