Panel not getting focus

后端 未结 6 2222
小鲜肉
小鲜肉 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:58

    call focus in click event

    private void Panel_Click(object sender, EventArgs e)
        {
            Panel.Focus();
        }
    

提交回复
热议问题