Is this Bug???

Hello~~

I tried to execute the method by function key in the keydown event of the form.

1. in the Form :  KeyPreview = true

2. Form KeyPress event : e.Handled = true;

3. Form KeyDown event : MessageBox.Show("keydown event");

At first, after the form is load, even though I key in the function key ( ex. F5 .. ),
It's showed the messagebox of the keydown event.

After I click any control, I can see the messagebox of the keydown event.

Why is it

Please help me~~~


Answer this question

Is this Bug???

  • mhd617

    I'm sorry..

    It's not a bug.

    Because I use the dock panel which someone made.

    Thank you~

  • Is this Bug???