Font boldFont = new Font(treeview.Font, FontStyle.Bold);
node.NodeFont = boldFont;
node.Text = node.Text; // 重点在此句,会将文字重新绘制一次,从而不全了没显示的文字
TreeView中加粗后,显示不全的终结解决方案
猜你喜欢
转载自blog.csdn.net/woddle/article/details/79964905
今日推荐
周排行