Panel not getting focus

后端 未结 6 2276
小鲜肉
小鲜肉 2020-11-22 14:42

I am continuing to program some kind of keyboard navigation in my simple graphic program (using C#). And I ran into trouble once again.

6条回答
  •  面向向阳花
    2020-11-22 14:51

    Panels are not getting focus, you have to select the panel if you want to track leave and enter events

    call panel1.Select() in MouseClick Event

提交回复
热议问题