treeNode1.NodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
给你个例子,假如想加粗主Node下所包含的第一个Node (this.treeView1.Nodes[0].Nodes[0]):this.treeView1.Nodes[0].Nodes[0].NodeFont = new Font(this.treeView1.Font, FontStyle.Bold);用Font的这个Constructor好一点儿.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货