`

19.4使用TreeView控件

阅读更多
使用TreeView控件


1、声明式地添加树视图节点
TreeViewDeclare.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server">
            <Nodes>
                <asp:TreeNode Text="Home" NavigateUrl="~/MenuLinkButton.aspx">
                    <asp:TreeNode Text="Products">
                        <asp:TreeNode Text="First Product" NavigateUrl="~/Products.aspx" />
                        <asp:TreeNode Text="Services" NavigateUrl="~/Services.aspx" />
                    </asp:TreeNode>
                    <asp:TreeNode Text="Services" NavigateUrl="~/MenuLinkButton.aspx" />
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
    </div>
    </form>
</body>
</html>

结果:

2011-5-18 16:04 danny

TreeViewValue.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
    {
        lblMessage.Text = TreeView1.SelectedValue;
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <style type="text/css">
        html
        {
            background-color: Silver;
        }
        .content
        {
            float: left;
            width: 350px;
            height: 500px;
            padding: 20px;
            margin: 10px;
            background-color: White;
        }
    </style>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div class="content">
        <asp:TreeView ID="TreeView1" runat="server" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
            <Nodes>
                <asp:TreeNode Text="Home" Value="Home">
                    <asp:TreeNode Text="Products">
                        <asp:TreeNode Text="First Products" Value="FirstProducts" />
                        <asp:TreeNode Text="Second Products" Value="SecondProducts" />
                    </asp:TreeNode>
                    <asp:TreeNode Text="Services">
                        <asp:TreeNode Text="First Service" Value="FirstService" />
                        <asp:TreeNode Text="Second Service" Value="SecondService" />
                    </asp:TreeNode>
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
    </div>
    <div class="content">
        You Selected:
        <asp:Label ID="lblMessage" EnableViewState="false" runat="server" />
    </div>
    </form>
</body>
</html>


显示结果:

2011-5-18 16:12 danny

2、在TreeView控件中显示复选框
ShowCheckBoxs属性
All
Leaf
none
Parent
Root

TreeViewCheckBoxes.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void btnSubscribe_Click(object sender, EventArgs e)
    {
        foreach (TreeNode node in TreeView1.CheckedNodes)
            bltSubscribed.Items.Add(node.Text);
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Select the Newsgroups which you would like to join:
        <br />
        <asp:TreeView ID="TreeView1" ShowCheckBoxes="Leaf" runat="server">
            <Nodes>
                <asp:TreeNode Text="Programming">
                    <asp:TreeNode Text="ASP.NET" />
                    <asp:TreeNode Text="JAVA" />
                    <asp:TreeNode Text="Cold Fusion" />
                </asp:TreeNode>
                <asp:TreeNode Text="Sports">
                    <asp:TreeNode Text="Baseball" />
                    <asp:TreeNode Text="Hockey" />
                    <asp:TreeNode Text="Football" />
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
        <br />
        <asp:Button ID="btnSubscribe" Text="Subscribe" runat="server" OnClick="btnSubscribe_Click" />
        <br />
        You Selected:
        <asp:BulletedList ID="bltSubscribed" EnableViewState="false" runat="server" />
    </div>
    </form>
</body>
</html>


3、绑定到站点地图
P700

4、绑定到XML文件
movies.xml
<?xml version="1.0" encoding="utf-8" ?>
<movies>
  <action>
    <StarWars />
    <IndependenceDay />
  </action>
  <horror>
    <Jaws />
    <NightmareBeforeChristmas/>
  </horror>
</movies>


TreeViewXML.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1">
        </asp:TreeView>
    </div>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/Movies.xml"></asp:XmlDataSource>
    </form>
</body>
</html>


显示:

2011-5-18 16:35 danny

MoviesComplex.xml
<?xml version="1.0" encoding="utf-8" ?>
<movies>
  <category id="category1" text="Action">
    <movie id="movie1" text="Star Wars" />
    <movie id="movie2" text="Independence Day"/>
    
  </category>
  <category id="category2" text="Horror">
    <movie id="movie3" text="Jaws"/>
    <movie id="movie4" text="Nightmare Before Christmas"/>
  </category>
</movies>


TreeViewXMLComplex.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="srcMovies">
            <DataBindings>
                <asp:TreeNodeBinding DataMember="category" TextField="text" ValueField="id" />
                <asp:TreeNodeBinding DataMember="movie" TextField="text" ValueField="id" />
            </DataBindings>
        </asp:TreeView>
    </div>
    <asp:XmlDataSource ID="srcMovies" runat="server" DataFile="~/MoviesComplex.xml">
    </asp:XmlDataSource>
    </form>
</body>
</html>


显示:

2011-5-18 16:44 danny

5、绑定到数据库数据
不能直接绑定到SqlDataSource和ObjectDataSource
可以创建自定义的SqlHierarchicalDataSource控件,或通过编程方式将TreeView控件绑定到数据库上。
数据库如下:
id       parentid   subject
1	NULL	How do you use the menu control?
2	NULL	What's the TreeView control?
3	1	Re:How do you use the menu control?
4	1	Re:How do you use the menu control?
5	2	RE:What's the TreeView control?
6	5	RE:What's the TreeView control?
NULL	NULL	NULL


TreeViewDatabase.aspx
<%@ Page Language="C#" %>

<%@ Import Namespace="System.Web.Configuration" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
            PopulateTreeView();
    }

    private void PopulateTreeView()
    {
        DataTable treeViewData = GetTreeViewData();
        AddTopTreeViewNodes(treeViewData);

    }
    public DataTable GetTreeViewData()
    {
        string selectCommand = "Select Id,ParentId,Subject From Message";
        string conString = WebConfigurationManager.ConnectionStrings["message"].ConnectionString;
        SqlDataAdapter dad = new SqlDataAdapter(selectCommand, conString);
        DataTable dtblmessage = new DataTable();
        dad.Fill(dtblmessage);
        return dtblmessage;
    }
    private void AddTopTreeViewNodes(DataTable treeViewData)
    {
        DataView view = new DataView(treeViewData);
        view.RowFilter = "parentid IS NULL";
        foreach (DataRowView row in view)
        {
            TreeNode newNode = new TreeNode(row["Subject"].ToString(), row["ID"].ToString());
            TreeView1.Nodes.Add(newNode);
            AddChildTreeViewNodes(treeViewData, newNode);

        }

    }
    private void AddChildTreeViewNodes(DataTable treeViewData, TreeNode parentTreeViewNode)
    {
        DataView view = new DataView(treeViewData);
        view.RowFilter = "parentId=" + parentTreeViewNode.Value;
        foreach (DataRowView row in view)
        {
            TreeNode newNode = new TreeNode(row["Subject"].ToString(), row["id"].ToString());
            parentTreeViewNode.ChildNodes.Add(newNode);
            AddChildTreeViewNodes(treeViewData, newNode);
        }
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" runat="server">
        </asp:TreeView>
    </div>
    </form>
</body>
</html>

显示结果:

2011-5-19 9:20 danny

6、使用延时加载和Ajax
TreeView控件提供了一个名为“延时加载(Populate On Demand)"的功能。当Tree节点的PopulateOnDemand属性开启后,直到该节点展开后才会动态的载入并添加其子节点。

无限展开的TreeView控件。
TreeViewPopulateOnDemand.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void TreeView1_TreeNodePopulate(object sender, TreeNodeEventArgs e)
    {
        for (int i = 0; i < 5; i++)
        {
            TreeNode newNode = new TreeNode();
            newNode.Text = String.Format("{0}.{1}", e.Node.Text, i);
            newNode.PopulateOnDemand = true;
            e.Node.ChildNodes.Add(newNode);
        }
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%=DateTime.Now.ToString("T") %>
        <hr />
        <asp:TreeView ID="TreeView1" ExpandDepth="0" runat="server" OnTreeNodePopulate="TreeView1_TreeNodePopulate">
            <Nodes>
                <asp:TreeNode PopulateOnDemand="true" Text="Node 0" />
            </Nodes>
        </asp:TreeView>
    </div>
    </form>
</body>
</html>


无限展开,结果:



TreeViewDatabaseAjax.aspx
<%@ Page Language="C#" %>

<%@ Import Namespace="System.Web.Configuration" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
            PopulateTopNodes();
    }
    private void PopulateTopNodes()
    {
        string selectCommand = "Select Id,ParentId,Subject From Message where parentid is null";
        string conString = WebConfigurationManager.ConnectionStrings["message"].ConnectionString;
        SqlDataAdapter dad = new SqlDataAdapter(selectCommand, conString);
        DataTable dtblmessage = new DataTable();
        dad.Fill(dtblmessage);

        foreach (DataRow row in dtblmessage.Rows)
        {
            TreeNode newNode = new TreeNode(row["subject"].ToString(), row["Id"].ToString());
            newNode.PopulateOnDemand = true;
            TreeView1.Nodes.Add(newNode);
        }
    }

    protected void TreeView1_TreeNodePopulate(object sender, TreeNodeEventArgs e)
    {
        string selectCommand = "Select Id,ParentId,Subject From Message where parentid=@parentid";
        string conString = WebConfigurationManager.ConnectionStrings["message"].ConnectionString;
        SqlDataAdapter dad = new SqlDataAdapter(selectCommand, conString);
        dad.SelectCommand.Parameters.AddWithValue("@parentid", e.Node.Value);
        DataTable dtblmessage = new DataTable();
        dad.Fill(dtblmessage);

        foreach (DataRow row in dtblmessage.Rows)
        {
            TreeNode newNode = new TreeNode(row["subject"].ToString(), row["Id"].ToString());
            newNode.PopulateOnDemand = true;
            e.Node.ChildNodes.Add(newNode);
        }
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <%=DateTime.Now.ToString("T") %>
        <hr />
        <asp:TreeView ID="TreeView1" ExpandDepth="0" runat="server" OnTreeNodePopulate="TreeView1_TreeNodePopulate">
        </asp:TreeView>
    </div>
    </form>
</body>
</html>


2011-5-19 9:42 danny

7、定制TreeView控件
修改外观
CollapseImageToolTip    用于指定表示折叠节点的图片的Title属性
CollapseImageUrl           用于指定用在表示折叠节点的图片的URL
ExpandDepth
ExpandImageToolTip
ExpandImageUrl
ImageSet               用于指定应用到Treeview控件上的一组图片
LineImagesFolder     指定TreeView节点间连接线图片的目录
MaxDataBindDepth   指定绑定到数据源时允许的最大TreeView层次数
NodeIdent              指定子节点显示时缩进的像素数
NodeWrap              指定是否允许节点内的文字折行
NoExpandImageUrl  指定应用到NoExpand图片上的URL
ShowCheckBoxes    指示节点是否显示复选框  All,Leaf,none,parent,root
ShowLines             指示是否在节点间显示连接线
SkipLinkText             指定跳过TreeView控件内容时所显示的文字
Target                指定TreeView控件导航时开启URL的窗口名称

TreeViewImageSet.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:TreeView ID="TreeView1" runat="server" ImageSet="XPFileExplorer">
        <Nodes>
            <asp:TreeNode Text="Home" Value="Home">
                <asp:TreeNode Text="Products" Value="Products">
                    <asp:TreeNode Text="First Product" Value="First Product"></asp:TreeNode>
                    <asp:TreeNode Text="Second Product" Value="Second Product"></asp:TreeNode>
                </asp:TreeNode>
                <asp:TreeNode Text="Services" Value="Services">
                    <asp:TreeNode Text="First Service" Value="First Service"></asp:TreeNode>
                    <asp:TreeNode Text="Second Service" Value="Second Service"></asp:TreeNode>
                </asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <div>
    </div>
    </form>
</body>
</html>


显示:

2011-5-19 10:08 danny

TreeNode也有外观属性
Checked
Expanded
ImageToolTip
ImageUrl
NavigateUrl
SelectAction            指定点击树节点时触发的动作,Expand,None,Select ,SelectExpand
ShowCheckBox
Target
ToolTip                   指定当前树节点的title属性

Style对象
HoverNodeStyle
LeafNodeStyle
NodeStyle
ParentNodeStyle
RootNodeStyle
SelectedNodeStyle

TreeViewStyles.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <style type="text/css">
        .treeNode
        {
            color: Blue;
            font: 14px Arail,Sans-Serif;
        }
        .rootNode
        {
            font-size: 18px;
            width: 100%;
            border-bottom: Solid 1px black;
        }
        .leafNode
        {
            border: Dotted 2px black;
            padding: 4px;
            background-color: #eeeeee;
            font-weight: bold;
        }
    </style>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TreeView ID="TreeView1" NodeStyle-CssClass="treeNode" RootNodeStyle-CssClass="rootNode"
            LeafNodeStyle-CssClass="leafNode" runat="server">
            <Nodes>
                <asp:TreeNode Text="Home" Value="Home">
                    <asp:TreeNode Text="Products" Value="Products">
                        <asp:TreeNode Text="First Product" Value="First Product"></asp:TreeNode>
                        <asp:TreeNode Text="Second Product" Value="Second Product"></asp:TreeNode>
                    </asp:TreeNode>
                    <asp:TreeNode Text="Services" Value="Services">
                        <asp:TreeNode Text="First Service" Value="First Service"></asp:TreeNode>
                        <asp:TreeNode Text="Second Service" Value="Second Service"></asp:TreeNode>
                    </asp:TreeNode>
                </asp:TreeNode>
            </Nodes>
        </asp:TreeView>
    </div>
    </form>
</body>
</html>

显示样式:


按层样式
TreeViewLevelStyle.aspx
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <style type="text/css">
        .nodeLevel1
        {
            font: 40px Arial,Sans-Serif;
        }
        .nodeLevel2
        {
            font: 20px Arial,Sans-Serif;
        }
        .nodeLevel3
        {
            font: 10px Arial,Sans-Serif;
        }
    </style>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:TreeView ID="TreeView1" runat="server">
        <LevelStyles>
            <asp:TreeNodeStyle CssClass="nodeLevel1" />
            <asp:TreeNodeStyle CssClass="nodeLevel2" />
            <asp:TreeNodeStyle CssClass="nodeLevel3" />
        </LevelStyles>
        <Nodes>
            <asp:TreeNode Text="Home" Value="Home">
                <asp:TreeNode Text="Products" Value="Products">
                    <asp:TreeNode Text="First Product" Value="First Product"></asp:TreeNode>
                    <asp:TreeNode Text="Second Product" Value="Second Product"></asp:TreeNode>
                </asp:TreeNode>
                <asp:TreeNode Text="Services" Value="Services">
                    <asp:TreeNode Text="First Service" Value="First Service"></asp:TreeNode>
                    <asp:TreeNode Text="Second Service" Value="Second Service"></asp:TreeNode>
                </asp:TreeNode>
            </asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <div>
    </div>
    </form>
</body>
</html>


2011-5-19 10:32 danny

分享到:
评论

相关推荐

    ASP.NET 控件的使用

    2.3.4 Button控件使用客户端脚本 62 2.3.5 执行跨页面发送 64 2.3.6 指定默认按钮 67 2.3.7 处理Command事件 68 2.4 显示图像 70 2.4.1 使用Image控件 70 2.4.2 使用ImageMap控件 71 2.5 使用Panel控件 75 2.6 使用...

    2.ASP.NET.2.0.高级编程(第4版) [1/7]

    14.3.7 编程使用TreeView控件 481 14.4 Menu服务器控件 487 14.4.1 给Menu控件应用不同的样式 488 14.4.2 Menu事件 493 14.4.3 把Menu控件绑定到XML文件上 493 14.5 SiteMap数据提供程序 495 14.5.1 ...

    ASP.NET2.0高级编程(第4版)1/6

     5.11.2 使用ListBox控件的例子133  5.11.3 给集合添加条目136 5.12 CheckBox服务器控件136  5.12.1 确定复选框是否被选中138  5.12.2 给复选框赋值138  5.12.3 排列复选框的文本138 5.13 CheckBoxList服务器...

    WPF编程宝典 part1

    22.2 TreeView控件 613 22.2.1 创建数据绑定的TreeView 控件 614 22.2.2 将DataSet对象绑定到TreeView 控件 617 22.2.3 即时创建节点 618 22.3 DataGrid控件 621 22.3.1 改变列的尺寸与重新安排列 622 22.3.2 定义列...

    ASP.NET4高级程序设计第4版 带目录PDF 分卷压缩包 part1

    17.4 TreeView控件 17.4.1 TreeNode 17.4.2 按需填充节点 17.4.3 TreeView样式 17.5 Menu控件 17.5.1 Menu样式 17.5.2 Menu模板 17.6 总结 第18章 网站部署 18.1 安装和配置IIS 18.1.1 安装...

    ASP.NET4高级程序设计(第4版) 3/3

    14.8.4 使用TreeView的层次化绑定 509 14.8.5 使用XSLT 511 14.8.6 绑定到来自其他源的XML内容 512 14.8.7 通过XmlDataSource更新XML 513 14.9 XML和ADO.NET数据集 513 14.9.1 把DataSet转换为XML 514 ...

    C#编程经验技巧宝典

    16 &lt;br&gt;0033 Return语句的使用 17 &lt;br&gt;0034 如何实现无限循环 17 &lt;br&gt;0035 巧用foreach语句控制控件 18 &lt;br&gt;0036 有效使用switch case语句 18 &lt;br&gt;2.3 运算符 19 &lt;br&gt;0037 如何使用...

    Access+2000中文版高级编程

    14.1.2 使用Access选项卡和使用ActiveX TabStrip控件的区别 436 14.2 ImageList控件详述 438 14.2.1 在设计阶段添加图像 438 14.2.2 在运行阶段向ImageList控件中添加图像 441 14.3 用ListView控件仿效...

    Access 2000中文版高级编程(part1)

    14.9 应用TreeView控件查看数据文件管理器的样式 465 14.10 小 结 469 第15章 使用API调用来扩展Access功能 470 15.1 理解动态链接库 471 15.1.1 执行链接 471 15.1.2 内存管理 471 15.1.3 常用的DLL 471 ...

    WPF编程宝典 part2

    22.2 TreeView控件 613 22.2.1 创建数据绑定的TreeView 控件 614 22.2.2 将DataSet对象绑定到TreeView 控件 617 22.2.3 即时创建节点 618 22.3 DataGrid控件 621 22.3.1 改变列的尺寸与重新安排列 622 22.3.2 定义列...

    Visual Basic 6编程技术大全 中译本扫描版带书签 2/2

    10.2 TreeView控件353 10.2.1设置设计时属性353 10.2.2运行时操作354 10.2.3先进的技巧358 10.3 ListView控件365 10.3.1设置设计时属性365 10.3.2运行时操作367 10.4 Toolbar控件374 10.4.1设置设计时属性375 10.4.2...

    Visual Basic 6编程技术大全 中译本扫描版带书签 1/2

    10.2 TreeView控件353 10.2.1设置设计时属性353 10.2.2运行时操作354 10.2.3先进的技巧358 10.3 ListView控件365 10.3.1设置设计时属性365 10.3.2运行时操作367 10.4 Toolbar控件374 10.4.1设置设计时属性375 10.4.2...

    Visual C++2010开发权威指南(共三部分).part1.rar

    5.21.3 在日期和时间选择器控件中使用自定义格式字符串 254 5.21.4 在日期和时间选择器控件中使用回调字段 254 5.21.5 处理日期和时间选择器控件中的通知消息 256 5.22 Visual C++ 2010 Month Canlendar控件简介与...

    c++ Builder+实例入门陈雪飞清晰版

    5.1.1 TreeView控件 5.1.2 ListView控件 5.2 编程思路 5.3 操作步骤 5.4 创意与超越 5.5 本章小结 第6章 系统文件浏览器 6.1 基础知识 6.1.1 注册表和 INI文件简介 6.1.2 ...

Global site tag (gtag.js) - Google Analytics