Visual Studio 2019, windows form application

33 Views Asked by At

On my VS2019 disable in property Key Down. It is should be like this: But in my VS no option:. How I can add KeyDown to continue work on my Windows form application? Thank you!

I Tried to create manually event for keyDown: private void pictureBox1_PreviewKeyDown(object sender, System.Windows.Forms.KeyEventArgs e) {

        if (e.KeyCode == Keys.Right)
        {

... but it does not work.

0

There are 0 best solutions below