uwekeim / zetahtmleditcontrol Goto Github PK
View Code? Open in Web Editor NEWA small wrapper class around the Windows Forms 2.0 WebBrowser control.
A small wrapper class around the Windows Forms 2.0 WebBrowser control.
I get following message on Windows 8.1
Access to the path 'C:\Users%user%\AppData\Local\Microsoft\Windows\Temporary Internet Files' is denied.
every time i click on the textModules button near the revert button i get an exception which i can't handle. Is there any way to disable the button or hadle its function? Thank you.
Hello great work with this htmleditingcontrol / component.
Example with:
<style> body { font-family: "Trebuchet MS",sans-serif; } h2 { font-family: "Trebuchet MS",sans-serif; } a {color:#666;font: 1.0em "Trebuchet MS",sans-serif;text-decoration: none;} a:hover {color:#666; font-weight:bold;text-decoration: none; } p {font: 1.0em "Trebuchet MS",sans-serif} #divider {width:100%;margin-top:25px;margin-bottom:25px} #footer h2 { padding: 0 0 0.5em 0; margin: 0 20px 0 0; border-bottom: 1px solid #666; color: #666; } .lnkgroup { overflow: hidden; margin: 0 20px 0 0; padding-left:0px;list-style-type: none;} #footer ul.lnkgroup li { float: none; display: block; font-size: 0.95em; line-height: 2.2em; border-bottom: 1px solid #666; height:25px; padding-top: 6px; } #footer #ftr_follow div { padding-top: 5px; } #footer a.link_lang { padding-left: 24px; line-height: 20px; display: inline-block; } #secureid { margin-top:15px; } </style>i've testet with hedit.exe.
Is it possible to embed this <style> Tag ?
When i try to compile i see a windows where i have to choose a component. i don't know what to do there. How to start the main programm? I can't switch the starting form.
TIA
How to use "ZetaHtmlEditControl"?
If I understand the documentation correctly, then I need to place "htmlEditUserControl2" on "WinForm".
Or did I misunderstand?
"htmlEditUserControl2.DocumentText = @" ";" does not work
`using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
//
using ZetaHtmlEditControl;
namespace rsh
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
string text1;
text1 = @"<body>
<a href=""http://cmstexst1:81/Page_2"">Ссылка на страницу Page_2</a><br>
<p>page1 paragraph 1</p>
<a href=""NamePage2#Page2_Paragraph_2"">Page2Prgrph_2</a><br>
<p>text</p>
<p>page1 paragraph 2</p>
<a href=""NamePage2#Page2_Paragraph_3"">Page2Prgrph_3</a><br>
<p>text</p>
<p>page1 paragraph 3</p>
<p>text</p>
<div class=""spoiler"">
<input type=""checkbox"" >
<div class=""box"">
Текст сообщения в спойлере.
</div>
</div>";
extendedWebBrowser1.DocumentText = text1;
// htmlEditUserControl2.se
htmlEditUserControl2.DocumentText = @"";
// extendedWebBrowser1.DocumentText = @"";
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.