Windows requires a click to activate a window before a second click will select a button. How can I change this?

后端 未结 4 1678
一向
一向 2021-02-13 03:26

My application is a C# Windows Forms Application and .Net somehow makes the default behavior of my main menu bar and tool strip buttons to be that you have to first click on my

4条回答
  •  没有蜡笔的小新
    2021-02-13 04:26

    This seems to be simpler solution:

    Register MainMenu component onto Toolbox bar, (in Visual Studio, use menu "Tools", then option "Choose Toolbox Items", then find "MainMenu"), and then use it on a form instead of MenuStrip.

提交回复
热议问题