在C#创建选项卡在Windows标题栏区域 [英] Creating tabs in the Windows titlebar area in C#

查看:216
本文介绍了在C#创建选项卡在Windows标题栏区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何创建标签在C#WinForms应用程序的标题栏区域?我在寻找类似谷歌Chrome浏览器的外观什么的。在Chrome中每个标签停放在主应用程序窗口的标题栏。

Can someone tell me how to create tabs in the title bar area of a C# Winforms application? I'm looking for something similar to how Google Chrome looks. Each tab in Chrome is docked in the title bar of the main application window.

推荐答案

试试您的形式设置FormBorderStyle为None。我想,如果你看看周围有关于如何建立这样的一个用户界面,你仍然可以有拖拽功能,你会通过隐藏标题栏失去了一些文章。然后,你可以建立标题栏区域,你希望它的工作方式。

Try setting FormBorderStyle of your form to None. I think if you look around there are some articles on how to build a UI like this where you can still have the drag functionality you'd lose by hiding the title bar. Then you could build up the title bar area the way you wanted it to work.

这篇关于在C#创建选项卡在Windows标题栏区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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