Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
What is this?Syndicate this content

Getting Started with TX Text Control .NET and SharpDevelop

This source code snippet requires TX Text Control .NET
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:

  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 icons are displayed in the toolbox (5 icons, if TX Text Control .NET Server 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.

top

Top 10 Bestselling Product Award 2007Top 25 Publisher Product Award 2007Top 10 Bestselling Product Award 2007 in JapanTop 25 Bestselling Product Award 2006Top 25 Bestselling Publisher Award 2006Reader's Choice Award, dot.net magazin, 3rd place