Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用图形编程更改 Windows 窗体应用程序中标题栏和窗体的样式。例如,窗体的默认颜色是蓝色,我想将其更改为黑色。有人有任何代码或教程吗?实施。在此先感谢
我建议查看此链接
http://www.codeplex.com/wikipage?ProjectName=CustomerBorderForm&title=Painting%20NonClient%20Area
http://www.codeplex.com/wikipage?ProjectName=CustomerBorderForm
将表单边框样式设置为 'None' FormBorderStyle = None
添加一个标题栏“面板”,左上角有一个图标按钮,右上角有三个控制按钮并将其停靠在顶部
您可以“借用”windows 控制菜单,但这超出了范围