请问VB.NET里面窗体全屏怎么弄啊
Me.WindowState=2Me.FormBorderStyle=Windows.Forms.FormBorderStyle.None盖不住任务栏...
Me.WindowState = 2
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
盖不住任务栏 展开
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
盖不住任务栏 展开
3个回答
展开全部
ShowIcon = false;
ShowInTaskbar = false;
this.TopMost = true;
this.Location = new Point(0, 0);
this.Size = new Size(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height);
或者
this.TopMost = true;
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
拿分来!
ShowInTaskbar = false;
this.TopMost = true;
this.Location = new Point(0, 0);
this.Size = new Size(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height);
或者
this.TopMost = true;
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
拿分来!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你试试SET那个窗口的from属性(不是很记得了最好打开1个控件看属性),有个属性选项可以是max或min的,懂了没?
追问
???????????/
Me.WindowState = FormWindowState.Maximized
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询