I have a .Net 4 WinForms application with the following properties on my MainForm
:
FormBorderStyle
= NoneWindowState
= Maximized
It works as expected and covers the entire screen. However, if a second monitor is disconnected while the application is open, the screen goes black while Windows is "removing" it, and then when the screen comes back, the application is resized so that it fits above the taskbar. I want the application to always be fullscreen and on top. Ideas?
TopMost
property to true does not help, unfortunately. – JLe