I have a value of key in file.
How I can convert this value to string representing this key?
When I have an event:
void text_KeyDown(Object sender, KeyEventArgs e)
{
this.text_button.Clear();
this.text_button.Text = e.KeyValue.ToString();
}
I do this. But now i dont have KeyEventArgs but int.
So, how to convert int to KeyValue to string? :/
Thanks for reading,
Greetings!
Here is some conversion code for
Keys,int, andstring: