全屏? [英] full screen?

查看:51
本文介绍了全屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何我可以让我的窗体全屏显示吗?谢谢

解决方案



将此行添加到表单加载事件Width =

Screen.PrimaryScreen.WorkingArea.Width:Height =

Screen.PrimaryScreen.WorkingArea.Height:Left = 0:Top = 0"

所以它看起来像这样

Private Sub FormMain_Load(ByVal sender As Object,ByVal e As

System.EventArgs)处理MyBase.Load


Width = Screen.PrimaryScreen .WorkingArea.Width:Height =

Screen.PrimaryScreen.WorkingArea.Height:Left = 0:Top = 0

End Sub

问候


Michel Posseth [MCP]


" iwdu15" < IW **** @ discussions.microsoft.com>在消息中写道

新闻:5B ********************************** @ microsof t.com ...

无论如何我可以让我的窗体全屏显示吗?谢谢



没有工作,仍然是顶部和开始栏的batr,所有它

做的是相同的最大化它


无论如何使开始菜单和任务栏消失并拥有它

只是形式?

hi, is there anyway i can make my windows form to be full screen? thanks

解决方案


ad this line to your forms load event "Width =
Screen.PrimaryScreen.WorkingArea.Width : Height =
Screen.PrimaryScreen.WorkingArea.Height : Left = 0 : Top = 0"
so it look slike this
Private Sub FormMain_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Width = Screen.PrimaryScreen.WorkingArea.Width : Height =
Screen.PrimaryScreen.WorkingArea.Height : Left = 0 : Top = 0

End Sub
regards

Michel Posseth [MCP]

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...

hi, is there anyway i can make my windows form to be full screen? thanks



that didnt work, theres still the batr at the top and the start bar, all it
did was the same as maximizing it


is there anyway of making the start menu and taskbar disappear and having it
just be the form?


这篇关于全屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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