I want my application to run as a “full screen”, just like a PowerPoint presentation. The title bar disappeared and the menu bar also disappeared.
I don’t think it should be too complicated, but I just can’t find how to do it.
If you want to do it right, including hiding the taskbar, here is an article that shows a working approach: http://www.codeproject.com/KB/cs/FullScreenDotNetApp.aspx
Here is a great example showing how to do this.
This requires several P / Invoke calls.
, . ( ).
this.FormBorderStyle = FormBorderStyle.None; this.Bounds = Screen.FromPoint(MousePosition).Bounds;
Try this (VB.NET syntax):
Me.MaximizeBox = False Me.MinimizeBox = False Me.TopMost = False Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
Source: https://habr.com/ru/post/1707786/More articles:WCF / SSL Error - vb.netSharePoint - sending and extracting files automatically using VBScript - fileIs there a tool that makes it easy to export messages from Message Queuing (MSMQ)? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1707784/how-do-i-make-a-datagridview-that-doesnt-snap-its-rows-to-the-top-of-the-control&usg=ALkJrhhja3DdzMFhtvW2qIq8o8cvTzYSewWill this SingleOrDefault () optimization be worthwhile or will it be excessive / harmful? - optimizationDo Perl CGI programs have buffer overflows or script contact form vulnerabilities? - securityHow to parse and interpret ant build.xml - javaLD_LIBRARY_PATH - cDNS two domains one server - subdomainIs it possible to have InterProcess communication in Java? - jvmAll Articles