How to build the c # client of cesium by cefsharp
This article mainly explains "how to build cesium's c # client with cefsharp". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to build cesium's c # client with cefsharp".
Import the prerequirement file and add to form:
Public Form1 () {InitializeComponent (); InitializeChromium ();} public void InitializeChromium () {CefSettings settings = new CefSettings (); Cef.Initialize (settings); chromeBrowser = new ChromiumWebBrowser ("http://localhost:8001"); this.Controls.Add (chromeBrowser); chromeBrowser.Dock = DockStyle.Fill) } private void Form1_FormClosing (object sender, FormClosingEventArgs e) {Cef.Shutdown ();} at this point, I believe you have a better understanding of "how cefsharp builds cesium's c # client". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!