ComponentOne XmlEditor for WinForms: XmlEditor for WinForms Quick Start > Step 1 of 4: Adding XmlEditor for WinForms Components to the Form

Step 1 of 4: Adding XmlEditor for WinForms Components to the Form

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

1.   Create a new Windows application.

2.   While in Design view, double-click the C1XmlEditor and C1XmlEditorToolStripMain 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:

 

 

4.   Right-click the C1XmlEditorToolStripMain 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 c1XmlEditor1. This links the toolstrip to the C1XmlEditor control.

6.   Select button1 and enter Apply CSS next to the Text property in the Properties window.

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


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.