CefSharp.Winforms.ChromiumWebBrowser minimal example on VB.NET (with cookies collector and script executor).
This is extension function to process another thread request to Winforms thread.
1: Imports System
2: Imports System.Windows.Forms
3: Imports System.Runtime.CompilerServices
4:
5:
6: Module ControlExtensions
7: <Extension()>
8: Sub InvokeOnUiThreadIfRequired(ByVal control As Control, ByVal action As Action)
9: If control.InvokeRequired Then
10: control.BeginInvoke(action)
11: Else
12: action.Invoke()
13: End If
14: End Sub
15: End Module
Comments (
)
<00>
<01>
<02>
<03>
<04>
<05>
<06>
<07>
<08>
<09>
<10>
<11>
<12>
<13>
<14>
<15>
<16>
<17>
<18>
<19>
<20>
<21>
<22>
<23>
Link to this page:
//www.vb-net.com/CefSharp_ChromiumWebBrowser/ControlExtensions.htm
<SITEMAP> <MVC> <ASP> <NET> <DATA> <KIOSK> <FLEX> <SQL> <NOTES> <LINUX> <MONO> <FREEWARE> <DOCS> <ENG> <CHAT ME> <ABOUT ME> < THANKS ME> |