Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2007

Tip: Looking for answers? Try searching our database.

Full Screen Application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 29 Nov 2007 17:41 GMT
Hi!
How can I make that my application run in full screen mode?

Thanks
Kerem Gümrükcü - 29 Nov 2007 18:45 GMT
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

Signature

-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

John Timney (MVP) - 29 Nov 2007 18:46 GMT
if its a winforms app try this
http://www.vesic.org/english/blog/winforms/full-screen-maximize/

if its a web app, use javascript

<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

> Hi!
> How can I make that my application run in full screen mode?
>
> Thanks
Kerem Gümrükcü - 29 Nov 2007 19:16 GMT
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

Signature

-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

John Timney (MVP) - 29 Nov 2007 21:46 GMT
No - very frowned on practice.  The only instance I would recommend it is in
public kiosks..

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog

> Hi John,
>
[quoted text clipped - 15 lines]
>
> Kerem

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.