Answer the question
In order to leave comments, you need to log in
How to intercept saved button from textBox1?
I have a pressed button recorded in textBox1, after clicking on button3, I want to listen to the pressed button that is in textBox1, but since textBox1 accepts string type variables, I had to translate the pressed key into string
That's what I'm talking about
if (Keys.A <= e.KeyCode && e.KeyCode <= Keys.Z)
{//Character keys
textBox1.Text = e.KeyCode.ToString();
}
if (Keys.A <= e.KeyCode && e.KeyCode <= Keys.Z)
в метод button3_KeyUp
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question