How do I make a WinForms app go Full Screen

前端 未结 9 1453
你的背包
你的背包 2020-11-22 11:20

I have a WinForms app that I am trying to make full screen (somewhat like what VS does in full screen mode).

Currently I am setting FormBorderStyle to <

9条回答
  •  误落风尘
    2020-11-22 12:06

    And for the menustrip-question, try set

    MenuStrip1.Parent = Nothing
    

    when in fullscreen mode, it should then disapear.

    And when exiting fullscreenmode, reset the menustrip1.parent to the form again and the menustrip will be normal again.

提交回复
热议问题