Rustemsoft provides the common controls you always wanted. Show date/time and numeric text boxes with simple and easy-to-manage properties. Create Windows XP style buttons with mouse over and click effects. Make anything appear as IP Address, SS#, Phone numbers, etc.
These elements are chock full of functionality that you won't find in the Microsoft .NET controls, that make it easy to build professional and forcing user interfaces. Rustemsoft.Controls .NET assembly from Rustemsoft is a WinForms components software package specifically designed for .NET developers. The assembly allows you to use all strengths of the MS .NET IDE without waiving the user interface elements your customers need.
Text Fractions box Control
This formatted intelligent Rustemsoft Text Fractions box control can mask the text fractions. It gives you ability to manage the IP Address, SS#, Phone numbers, etc., and checks the validation, and automatically set the delimiter location.
The Fraction box Control is useful in several situations. For example, this control will automatically format a telephone number so when a user enters their phone number like this:
it will automatically change the numbers in the column text updating box.
Up to 5 text fractions can be defined. By setting the DelimiterChar property up a delimiter symbol for the control can be specified. You can define the overall length of each text fraction and what kind of characters can be inserted in the fraction (alphanumeric, numeric only, etc.).
VB: Dim MyFractionBox As Rustemsoft.Controls.FractionBox
C#: Rustemsoft.Controls.FractionBox MyFractionBox;
To identify each text fraction you must set values of ten properties where settings of the fractions are stored. The first five properties (I_stFractionFormat, II_ndFractionFormat, III_rdFractionFormat, IV_thFractionFormat, and V_thFractionFormat) specifies what characters can be inserted into the fraction. It accepts the following values:
N - numeric characters (0-9) are acceptable only
L - letters (Aa-Zz) are acceptable only
A - alphanumeric characters (Aa-Zz0-9) are acceptable only
P - punctuation characters are acceptable only
S - spaces are acceptable only
Empty - any characters are acceptable
The second five box specific properties (I_stFractionLength, II_ndFractionLength, III_rdFractionLength, IV_thFractionLength, and V_thFractionLength) specifies overall fraction's length.
Please read the Rustemsoft.Controls assembly documentation to learn more about the Text FractionBox class provided events and class members.
Setup. Add a Reference for Visual Studio .NET project
Suppose you are building a project using Visual Studio .NET, and you decide that you want to start consuming Rustemsoft Controls .NET assembly to use its components on Windows Forms. The first step that you will generally take is, you will add Rustemsoft Control to a form. To do that you need to open ToolBox in .NET IDE. You can open ToolBox by clicking View-->ToolBox menu item. Select the Rustemsoft Controls tooltab. You add controls either by drag-drop or by double clicking on the control.
If for some reason you can not find the "Rustemsoft Controls" tooltab in your .NET toolbox you can add it manually. To add Rustemsoft Controls to the Toolbox do the following:
Right-click the Toolbox and choose Add Tab from the shortcut menu. Insert "Rustemsoft Controls Trial" as a name of the tab. Double click the new tooltab to expand it.
Right-click the Tooltab and choose Add/Remove Items from the shortcut menu. ("Customize Toolbox" in oldest .NET versions) The Customize Toolbox dialog box opens.
Choose the .NET Framework Components tab and click Browse. Browse to the folder where the Rustemsoft Controls library is located and select Rustemsoft.ControlsTrial.dll. Rustemsoft Controls appear in the list of components in the Customize Toolbox dialog box.
Close the window by clicking Ok.
The Rustemsoft Controls are added to the new tab of the .NET Toolbox.
How to add a reference to the Rustemsoft.Controls .NET assembly, which is residing in some directory on your PC hard drive? Visual Studio .NET will then add a new item under Solution Explorer called 'References', and it will create a row node underneath it called Rustemsoft.Controls.
In order to add the reference to Rustemsoft.Controls .NET assembly please follow the steps:
Select Project from the menu bar
Choose Add Reference from the drop down menu
Click on the Browse button
Browse to and choose Rustemsoft.ControlsTrial.dll
The Reference to a .NET Rustemsoft namespace is a requirement and must be added to a project before the objects in the Rustemsoft namespace can be used. The VB .NET Imports statement (or C# using statement) is not a requirement and is simply a coding convenience that allows shorter names to be used. You can add the statement to your code:
using namespace Rustemsoft;