0

I m creating an full screen application! But dont know how make it fullscreen (i.e the buttons minimize, maximize, and close button should not appear on screen).

Edited by Andy90

3
Contributors
6
Replies
7
Views
4 Years
Discussion Span
Last Post by Sahil89
Featured Replies
1

Try:

this.WindowState = FormWindowState.Maximized;
this.FormBorderStyle = FormBorderStyle.None;
2

You will need to change above code to maximize to full screen as follows

this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;

The code posted by Mitja Bonca will make it fullscreen but it will not hide taskbar, so if u want to hide taskbar too then use this code else use Bonca's code. Good Luck!

Edited by Sahil89: spelling mistake

2

Hey Mitja Bonca heres the source file. I hope u will understand it. If not keep ur ego out of ur mind then u might understand else ask me I will post another file with comments for u.

Andy90 I hope this will help you. Good Luck!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.