Example Usage

The following is an example of dynamic control creation on a Windows form in Visual Studio using C#.


The following a an example of dynamic control creation on a Windows form in Visual Studio using C#. Simply reference the control in your Visual Studio project and add the following code in the Load event of the form.

{

Zoople.HTMLEditControl oEdit = new Zoople.HTMLEditControl();

oEdit.Dock = DockStyle.Fill;

this.Controls.Add(oEdit);

oEdit.CSSText = "BODY {border: 0; font-family: Arial}";

}