SpeakComputers.com online store
Electronics Software Computers Handhelds Laptops and Tablets Mobile Phones Digital Cameras Camcorders Games Music Books Sport Mens and Womens Watches Power Tools Household appliances

PRODUCTS

Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010

TextBoxX Control, DevComponents.

This control replaces the windows form TextBox control.

Namespace: DevComponents.DotNetBar.Controls
Assembly: DevComponents.DotNetBar2.dll
Using: DevComponents.DotNetBar.Controls;
Declaring: DevComponents.DotNetBar.Controls.TextBoxX();

Creating the TextBoxX control.

DevComponents.DotNetBar.Controls.TextBoxX textBox = new DevComponents.DotNetBar.Controls.TextBoxX();
textBox.WatermarkText = "First Name";
textBox.Border.Class = "TextBoxBorder";
textBox.Location = new Point(100, 100);
textBox.Size = new Size(100, 23);
this.Controls.Add(textBox);

IntegerInput Control, DevComponents.

Creating the IntegerInput control.

DevComponents.Editors.IntegerInput Iinput = new DevComponents.Editors.IntegerInput();
Iinput.Size = new Size(60, 23);
Iinput.Location = new Point(20, 20);
Iinput.ShowUpDown = true;>
this.Controls.Add(Iinput);

Creating a ValueChanged event.

Iinput.ValueChanged += new EventHandler(Iinput_ValueChanged);

Responding to the ValueChanged event.

void Iinput_ValueChanged(object sender, EventArgs e)
{
DevComponents.Editors.IntegerInput ii = (DevComponents.Editors.IntegerInput)sender;
this.labelX1.Text = ii.Text;
}

Screenshots - Text Editors, DevComponents.

Integer value and Double value input controls with null value support, custom value support, up/down buttons and more...

.

Home About Privacy Policy Resouces Search

Copy Right 2006 SpeakComputers.com - All Rights Reserved.