hello, please help me about the winform show.
Posted: Wed Sep 06, 2017 8:38 pm
my code is in my program.cs
when i run, input the user and password, and click the login button, the loginfrom is hide, the webbrowser mainform popup, the same time , the loginfrom popup two or there times.
please see the flowing two img demo:
- Code: Select all
LoginForm loginfrm = new LoginForm();
loginfrm.ShowDialog();
if (loginfrm.DialogResult.Equals(DialogResult.OK))
{
Application.Run(new MainForm(args));
}
when i run, input the user and password, and click the login button, the loginfrom is hide, the webbrowser mainform popup, the same time , the loginfrom popup two or there times.
please see the flowing two img demo: