在dotnet中创建选项卡式窗口 [英] creating a tabbed window in dotnet
本文介绍了在dotnet中创建选项卡式窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为Windows应用程序创建一个选项卡式对话框.
这是一个桌面应用,与网络无关,因此我想避免使用AJAX和JS.
选项卡式窗口"是指您在Windows操作系统中获得的那种类型,您右键单击驱动器并选择属性...这会打开属性窗口,其中包含诸如常规",工具",硬件",共享"等选项卡.使用Visual Studio和c#的我的应用程序的窗口?
i want to make a tabbed dialog box for a windows application.
It is a desktop app and NOT web related, so AJAX and JS i want to avoid.
By tabbed window, i mean the kind you get when in windows os, you right-click a drive and select properties... which opens the properties window having tabs like general, tools, hardware, sharing etc. how do I make a similar window for my app using visual studio and c#?
推荐答案
[
只需使用TabControl
.根据您要使用的UI库(对其进行标记,对其进行标记!),它将为System.Windows.Forms.TabControl
或System.Windows.Controls.TabControl
.
参见:
http://msdn.microsoft.com/en-us/library/system. windows.forms.tabcontrol.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/system. windows.controls.tabcontrol.aspx [ ^ ].
—SA Simply useTabControl
. Depending on the UI library you want to use (tag it, tag it!), it will be eitherSystem.Windows.Forms.TabControl
orSystem.Windows.Controls.TabControl
.
See:
http://msdn.microsoft.com/en-us/library/system.windows.forms.tabcontrol.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.controls.tabcontrol.aspx[^].
—SA
这篇关于在dotnet中创建选项卡式窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文