E
emma middlebrook
Hi
This is a terrible way to do the following ...
private void TextBox_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
...
}
}
Is there a more elegant way? I see the System.Windows.Forms.Keys has
an Enter value but e.KeyChar's a char
Emma Middlebrook
(e-mail address removed)
This is a terrible way to do the following ...
private void TextBox_KeyPress(object sender,
System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
...
}
}
Is there a more elegant way? I see the System.Windows.Forms.Keys has
an Enter value but e.KeyChar's a char

Emma Middlebrook
(e-mail address removed)