Loading GST Billing Software
header image

Kushal Help : Overloaded C# Controls in Kushal

Erachana Line

When designing forms in Kushal, you can find that several controls get automatically created (the specific controls depend on the type of form chosen for the design). Kushal provides a list of commonly used controls which you might need in order to enhance these forms with additional functionalities. Iin addition to this, Kushal also includes controls which are designed for regular usage, for example link control of Kushal accepts url and opens web browser with specified url, when clicked. Another example is 'Open Dialog' Control – which includes text box and a button, where if you specify the file extension this control set will open – Open dialog box with a specified file extension in the designed application.



Controls Controls

List of Controls

Now let us see the controls available in Kushal and their specific properties in brief.

  • Label

The Label control represents a Label. You can add this Control to any type of Form in Kushal.

  • EMail

The Email Control is an improvement over the label control that has provision to specify Email ID in its Action property. When you click on this label control, an Email dialog-box opens up in the designed application.

  • Erachana Date

ERachana Date Control is an enhanced TextBox Control specifically designed to accept a date. Users can type just 15 4 12 to set the date – 15th of April 2012.

You can use the Association Properties of this control to associate this control’s data input to the specific column of the associated database table.

  • .Net Framework Date and Time

ERachana Date and Time Control is an enhanced textbox Control specifically designed to accept a date. Users can type just 15 4 12 to set a date – 15th of April 2012. You can use the Association Properties of this control to associate this control’s data input to the specific column of the associated database table.

  • Time Picker

Time Picker Control is an enhanced date time picker Control specifically designed to accept only time. This will enable you to choose the time in the Kushal designed application. You can use the Association Properties of this control to associate the data input to a specific column of a database table to this Control.

  • List box

The ListBox Control is with little enhancement to accept a SQL Statement or an item collection to display required field values in the designed application.

  • Textbox

The Textbox Control is used to display or accept as input, a single line of text.

  • Masked Textbox

A MaskedTextBox control provides validation mechanism for user input on a Form. In addition to basic properties of the TextBox Control, this Control has some special properties added in Kushal. For instance, if you want a TextBox to accept Telephone number in (999)999-9999 format, you can set the Mask property in the MaskedTextBox. This Control helps you add a masked text to distinguish between proper and improper user input.

  • Numeric Textbox

This Control is an enhanced TextBox which accepts only numeric and decimal values. In the Association Properties, you can associate the data input to a specific column of a database table to this Control.

  • Decimal Textbox

The decimal TextBox is an improved version of TextBox. It differs from a Numeric text box as it supports ‘.’ (the “dot” Character), in addition to numeric values to store decimal values.

  • Currency Textbox

The currency TextBox is an improved TextBox Control. It displays the amount entered as currency.

  • Dropdown

Dropdown Control of Kushal supports SQL Statement or Item Collection as the input source. This is set in the SQL property. In the Association Properties, you can associate the data input to a specific column of a database table to this Control.

  • Radio Button

The radio buttons are used when you want to give the user a choice between several mutually exclusive options. Generally, the radio buttons are set within a RadioButtonPanel Control. The Checked property sets the state of the control.

  • Radio Button Panel

Radio button panel is used with a set of radio buttons when any one option has to be selected among multiple options. This Control allows you to select one radio button at a time. It will read the value from checked radio button and send the corresponding value to database table field.

  • Checkbox

The checkbox control is used when you want to allow the user to choose one or more options. It will read the value from checked checkbox through the Checked property and send the corresponding value to database table field.

  • Button

A button is primarily used to perform three kinds of tasks:

Ø To perform an action on data entered on a dialog (for example clicking Search after entering some search criteria)

Ø To open another dialog or application (for example, Help buttons)

Ø To close a dialog with a state (for example, OK and Cancel buttons)

Button Control of Kushal has a property group Action using which button behavior can be configured.

  • Image

The Image Control of Kushal is used to display images in various formats like GIF, JPG, BMP etc., either at design time or runtime. The path of the image file for the image to be displayed is set in the Image property of the control.

  • Data Grid

The Data Grid is one of the most important Controls when developing a database application. This Control supports SQL statement implicitly. You can configure the property of each column of the grid.

  • Group Box

Group box (Frame) Control is used to group a set of Controls. This Control behaves the same as in Visual Studio with some minor enhancements.

  • Tab Control

Tab Control allows you to arrange the Form’s Controls under various Tabs for better user experience.

  • Tree View

Tree View is a set of Controls that include a TreeView Control and four buttons that enable hierarchical representation of data at runtime.

  • Open File Dialog

When you add the Open File Dialog Control to your form, Kushal will create two Controls – Textbox and Button, where if you specify the file extension in button control, this Control set will open an Open dialog box with a specified file extension in the designed application.

  • Save File Dialog

When you add the Save File Dialog, Kushal will create 2 Controls – Textbox, Button. In button, you have to configure which type of file needs to save. For example, if you want to save file with a .abc, you can specify that. Then at runtime, if you click on the button and specify a file name, this Control will automatically append the extension and show the full file path within the associated textbox.

  • Browse File Dialog

When you add the Browse File Dialog, Kushal will create 2 Controls – Textbox, Button. In button, you have to configure which type of file needs to browse. For example, if you want to select only document files you have to give ‘doc’ as the File Extension. Then during runtime, if we click on the button, it will display only files with a .doc extension and once the file is selected, it will populate the related textbox with that file name.

  • Browse Image

When you add the Browse Image, Kushal will create 3 Controls – Image Layout, Textbox, Button. In this, you need not configure button or textbox with image layout. By default textbox and button are associated with image layout.



<< Previous
Home
Next >>