Create full screen application in .Net CF

Sep 26, 2009 | 42Gears Team

Applications can use the screen real estate to their benefit by running in full screen mode. If you are developing your application in .NET CF, there are 2 ways to make it full screen.

In Code
Put the following code into your form’s Load() method like below.

private void Form1_Load(object sender, EventArgs e)
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;

In Designer View
Set FormBorderStyle to None and WindowState property to Maximized.

FullScreen in SureLock Studio
SureLock Studio has an option to set an “approved” application to run in full screen mode. This does not mean that SureLock will launch it in fullscreen mode, instead this option instructs SureLock to not interfere with application making itself fullscreen. A well-behaved fullscreen application should provide a way for the user to minimize or exit.

If your application is full screen and you don’t specify this in SureLock Studio then you will see the windows taskbar popping at the top. This is an undesired behavior and can be easily avoided by setting “This is a full screen application” option.

Exclusive News and Updates on Enterprise Mobility!

Subscribe for our free newsletter

Thank you! you are successfully subscribed.
Please enter a valid official email
* I consent to receive newsletters via email from 42Gears and its Affiliates.
Please agree
* I have reviewed and agreed to 42Gears Privacy Policy and Terms of Use prior to subscribing and understand that I may change my preference or unsubscribe at any time.
Please agree