TX Text Control Source Code Library

Using TX Text Control .NET for Windows Forms in 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 for Windows Forms to be included. Adding TX Text Control .NET for Windows Forms 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 for Windows Forms and SharpDevelop. The following steps are required:

  1. 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.

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

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

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

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

  7. 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
  8. Now you have to rebuild the solution, so that the license gets included in the assembly.
    Choose Rebuild Solution from the Build menu.
  9. Press F5 to start the application.
 
 

Products

Support

Downloads

Corporate

Buy Now