1
Answer

c# keyboardhook convert

Ask a question
TriX TriX

TriX TriX

8y
235
1
how it is possible to convert?
 
private void keyUp(KeyboardHook.VKeys key)
{
if (key == KeyboardHook.VKeys.SPACE)
{
textBox1.Text += " ";
}
else if (key == KeyboardHook.VKeys.KEY_0)
{
textBox1.Text += "0";
}
else if (key == KeyboardHook.VKeys.KEY_1)
{
textBox1.Text += "1";
}
 

Answers (1)