C # Building a CEF3 analog browser

1. Import CefSharp.WinForms, use NuGet to search for the package name

Share pictures

share picture

2. Set up the event solution platform

Share pictures

share picture

If there is no x86 platform, just “New->x86” will do. Use the x86 platform to run the cef program

namespace JDKey

{
public partial class Form1: Form
{
public ChromiumWebBrowser browser {get; set;}
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
browser
= new ChromiumWebBrowser("www.baidu.com");
this.Controls.Add(browser);
}
}
}

Success

Share pictures

namespace JDKey

{
public partial class Form1: Form
{
public ChromiumWebBrowser browser {get; set;}
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
browser
= new ChromiumWebBrowser("www.baidu.com");
this.Controls.Add(browser);
}
}
}

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3050 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.