hello, please help me about the winform show.

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

hello, please help me about the winform show.

Postby shizenghua » Wed Sep 06, 2017 8:38 pm

my code is in my program.cs
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:
1.png
1.png (78.81 KiB) Viewed 7855 times

2.png
2.png (111.08 KiB) Viewed 7855 times
shizenghua
Newbie
 
Posts: 1
Joined: Wed Sep 06, 2017 8:30 pm

Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 17 guests