当窗口状态属性设置为最大化时,形成任务栏。 [英] Form over laps the task bar when the window state property is set to maximized.

查看:69
本文介绍了当窗口状态属性设置为最大化时,形成任务栏。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当窗体的窗口状态属性设置为最大化时,它在我们运行应用程序时与任务栏重叠。



我不希望任务栏被隐藏,应用程序应该像其他应用程序一样正常运行。



请给解决方案。



谢谢

解决方案





我设法通过在表格的加载事件中添加以下代码来解决它



  this  .Size = Screen.PrimaryScreen.WorkingArea.Size; 





谢谢


Hi,

when the window state property of a form is set to maximized, it overlaps the task bar when we run the application.

I don't want the task bar to be hidden and the application should run normally like other apps.

Please give a solution to this.

Thanks

解决方案

Hi,

I managed to solve it by adding the below code in the load event of the form

this.Size = Screen.PrimaryScreen.WorkingArea.Size;



Thanks


这篇关于当窗口状态属性设置为最大化时,形成任务栏。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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