3.5. My typical VB.NET desktop application. HtmlPanel - browser for desktop application.
To add HTMLPanel need to firstly install from NUGET package HtmlRenderer.WinForms/HtmlRenderer.Core. And working to this browser is pretty simple
7: Dim HtmlPanel As TheArtOfDev.HtmlRenderer.WinForms.HtmlPanel
13: Private Sub EmailCenter_Load(sender As
...
26: HtmlPanel = New TheArtOfDev.HtmlRenderer.WinForms.HtmlPanel
27: HtmlPanel.BackColor = System.Drawing.SystemColors.Control
28: HtmlPanel.BorderStyle = BorderStyle.Fixed3D
29: HtmlPanel.Dock = DockStyle.Fill
30: BrowserPanel1.Controls.Add(HtmlPanel)
31: HtmlPanel.Text = "Ready"
32: HtmlPanel.Dock = DockStyle.Fill
...
159: HtmlPanel.Text = MultipartBodyMessage.HtmlBody
...
161: HtmlPanel.Text = MultipartBodyMessage.TextBody
Comments (
)
Link to this page:
//www.vb-net.com/Samantha/HtmlPanel.htm
|