Code below:
- Code: Select all
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
CefSettings settings = new CefSettings();
Cef.Initialize(settings);
ChromiumWebBrowser webBrowser = new ChromiumWebBrowser("https://google.com/");
tabPage1.Controls.Add(webBrowser);
webBrowser.Dock = DockStyle.Fill;
}
}
}