Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts


if (e.KeyChar == (char)Keys.Space)
{
e.Handled = false;
MessageBox.Show("ERror!");
}



Solution: Set KeyPreview property to Ture

Labels:
Sri Lanka .NET 
                Forum Member