It looks like you're new here. If you want to get involved, click one of these buttons!
private void textBox1_TextChanged(object sender, EventArgs e)
{
//
}
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(6, 19);
this.textBox1.Name = \"textBox1\";
this.textBox1.Size = new System.Drawing.Size(579, 20);
this.textBox1.TabIndex = 0;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(keyCheck);
private void keyCheck(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
MessageBox.Show(\"Enter was pressed\", \"keypress event\");
}
}
switch (e.KeyChar)
{
case (char)13:
MessageBox.Show(\"Enter was pressed\", \"keypress event\");
break;
}