Editor for WinForms | ComponentOne
Editor for WinForms Quick Start / Step 1 of 4: Adding Editor for WinForms Components to the Form
In This Topic
    Step 1 of 4: Adding Editor for WinForms Components to the Form
    In This Topic

    In this topic you will add the C1Editor and C1EditorToolStripMain controls to your form and create a basic application.

    1. Create a new Windows application.
    2. While in Design view, double-click the C1Editor and C1EditorToolStripMain controls in the Visual Studio Toolbox to add them to your form.
    3. Add one button to the form and arrange the controls so they look like the following image:
      Button added to the form
    4. Right-click the C1EditorToolStripMain control on your form and select Properties.
    5. In the Visual Studio Properties window, click the drop-down arrow next to the Editor property and select c1Editor1. This links the toolstrip to the C1Editor control.
    6. Select button1 and enter Apply CSS next to the Text property in the Properties window.

    In the next step you will bind C1Editor to a document.