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.
Look at sample Main method. You should show UI only in main process, and use CefRuntime.ExecuteProcess in child processes. Look how it is done in WpfOsr sample for example. WinForms.Demo has same logic, but bit more complex.
--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.