

Getting Started with TX Text Control .NET and SharpDevelop

| Author: | TX Text Control Support Department |
| Language: | C# .NET |
| Version: | 1.0 |
| Released: | June 29, 2006 |
| Last modified: | January 11, 2008 |
| Requirements: | TX Text Control .NET with SharpDevelop 2.0 |
Using TX Text Control .NET with SharpDevelop
SharpDevelop is a free and open source IDE for the Microsoft .NET Framework-based languages C# and Visual Basic .NET (VB.NET).
You can download this IDE directly on it's website at:
http://www.sharpdevelop.com
SharpDevelop 2.0 uses the same MSBuild project files as Microsoft Visual Studio .NET, thus allowing licenses for third-party components, such as TX Text Control .NET to be included. Adding TX Text Control .NET to a SharpDevelop project is as easy as in Visual Studio .NET. Just the licenses file must be created manually.
This tutorial shows how to create a new simple project with TX Text Control .NET and SharpDevelop. The following steps are required:
- From the File menu, choose New -> Solution.
Choose the Windows Application template from the C# Windows Applications category, type in a name for your project and confirm with Create.

- Switch to the Design view of the 'MainForm'.
- Right-click on the Toolbox Tools in the Windows Forms section and select Configure Sidebar...

- In the category Windows Forms, click on Add Components and browse for 'TXTextControl' in the GAC. Select and add them by clicking on OK.

- Close the Configure Side dialog with OK.
The 4 TX Text Control .NET icons are displayed in the toolbox (5 icons, if TX Text Control .NET Server is installed as well).

- Select TX Text Control from the toolbox and draw it onto the main form.

- From the Project menu, select Add -> New Item...
Select Empty text file from the Misc category and name the file licenses.licx and click on Create.

Add the following string to the now opened text file:
TXTextControl.TextControl, TXTextControl, Version=12.0.400.500, Culture=neutral, PublicKeyToken=6b83fe9a75cfb638 - Now you have to rebuild the solution, so that the license gets included in the assembly.
Choose Rebuild Solution from the Build menu. - Press F5 to start the application.
top