WindowState最大化它完成任务栏 [英] The WindowState To Maximized It Goes Over The Taskbar

查看:88
本文介绍了WindowState最大化它完成任务栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用WinForm创建了应用程序。我已将窗口状态设置为最大化。

当我运行程序时,窗口位于任务栏后面,状态栏不显示。我怎么能够程序最大化,但任务栏仍然存在?

I have created application using WinForm.I have set the window state maximised.
When i run the program the window is behind the taskbar and the status bar does not display.How can I have to program to be maximized, but the taskbar remains?

推荐答案

使用Google搜索关键字 windowstate最大化隐藏任务栏,我发现这篇文章解释了这是WPF的一个问题。你在使用WPF吗?你没说。



最大化窗口(使用WindowStyle =无)考虑任务栏 [ ^ ]



文章说只有在WindowStyle = None时才会出现问题。

我建议你尝试为你的表单设置WindowStyle = SingleBorderWindow,看看是否能解决它。
Using Google search with keywords windowstate maximized hides taskbar, I found this article that explains that this is a problem with WPF. Are you using WPF? You didn''t say.

See Maximizing window (with WindowStyle=None) considering Taskbar[^]

The article says that the problem only occurs when WindowStyle = None.
I suggest that you try setting the WindowStyle = SingleBorderWindow for your form to see if that solves it.


这篇关于WindowState最大化它完成任务栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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