如何以全屏模式打开Web应用程序 [英] How to open a webapplication in full screen mode

查看:84
本文介绍了如何以全屏模式打开Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,我想以全屏模式打开...(使用F11也可以实现)..但我想以编程方式执行此操作。我有一个登录页面...一旦我点击登录按钮,我希望我的应用程序以全屏模式打开。请让我知道如何实现这一目标。

I have an application which i want to open in full screen mode ... (the same can be achieved using F11) .. but I want to do this programatically. I have a login page ... once i click on the login button, i want my application to open in full screen mode. Please let me know how to achieve this.

推荐答案

你不能。您无法控制用户浏览器窗口。
You can't. You have no control over the users browser window.


创建一个Windows窗体应用程序项目



将Web浏览器控件拖入表格



转到网页浏览器属性



选择Dock = Fill



选择表格



转到表格属性



选择TopMost = True



FormBorderStyle =无



WindowState =最大化



更新webbrowser中的网址



更新你的背景代码
Create a windows form application project

drag the web browser control in to the form

goto web browser properties

select Dock = Fill

Select the form

Goto Form properties

Select TopMost = True

FormBorderStyle = None

WindowState = Maximized

Update the url in webbrowser

And update your backgroud codes


登录后你可以打开一个新的浏览器窗口。

请查看以下文章



http://stackoverflow.com/questions/19355370/how-to-open-a-web-page-automatically-in-full-屏幕模式 [ ^ ]

http://stackoverflow.com/questions/5214167/how-to-open-a-webpage-in-full-screen-mode-ie-automatically-and-the-user-can-st [ ^ ]
after log in you can open a new browser window.
please check bellow article

http://stackoverflow.com/questions/19355370/how-to-open-a-web-page-automatically-in-full-screen-mode[^]
http://stackoverflow.com/questions/5214167/how-to-open-a-webpage-in-full-screen-mode-ie-automatically-and-the-user-can-st[^]


这篇关于如何以全屏模式打开Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆