Skip to content

Instantly share code, notes, and snippets.

@Nosfheratu
Last active January 2, 2016 11:19
Show Gist options
  • Select an option

  • Save Nosfheratu/8295842 to your computer and use it in GitHub Desktop.

Select an option

Save Nosfheratu/8295842 to your computer and use it in GitHub Desktop.
myControl.KeyDown += (s, e) =>
{
if (e.KeyCode == Keys.WHATEVER_KEY)
Validate();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment