Full Screen Application

  • Thread starter Thread starter Kevin
  • Start date Start date
Hi Kevin,
How can I make that my application run in full screen mode?

if (this.FormBorderStyle != FormBorderStyle.None && this.WindowState !=
FormWindowState.Maximized)

{

this.FormBorderStyle = FormBorderStyle.None;

this.WindowState = FormWindowState.Maximized;

}

else

{

this.FormBorderStyle = FormBorderStyle.Sizable;

this.WindowState = FormWindowState.Normal;

}

just to give you an example,...

Regards

Kerem

--
 
Hi John,
if its a web app, use javascript
<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>

DOW!....Webapps as fullscreen,...always sound very strange
for me....having a html page covering the entire surface of my
Display,....horrible! ;-)

But what to say,...if he likes that or someone expects this.
Makes some sense for WinForms,...but not for webaps.
I never liked that!

Regards

Kerem

--
 
Back
Top