- Version
- Download 34
- File Size 45.08 KB
- File Count 1
- Create Date March 1, 2016
- Last Updated March 1, 2016
Textbox Control in C#
Textbox Control in C#
A text box, text field or text entry box is a graphical control element intended to enable the user to input text information to be used by the program.
Sample code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
textBox3.Enabled = false;
textBox5.PasswordChar = '*';
textBox6.BorderStyle = BorderStyle.FixedSingle;
textBox4.ReadOnly = true;
}
}
}