I'm capturing keys on my WinForm but I'm trying to see if the pressed key is a 'String' - getting an
- by Sergio Tapia
Here's my code:
void gkh_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == neededLetter as Keys)
{
if (neededLetter == "n")
{
neededLetter = "o";
}
else if (neededLetter == "o")
{
…