首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

System.Windows.Forms.TreeNode如何声明为变量对像

2012-10-20 
System.Windows.Forms.TreeNode怎么声明为变量对像string[] bume 为数组.如下声名为错误的System.Windows.

System.Windows.Forms.TreeNode怎么声明为变量对像
string[] bume 为数组.

如下声名为错误的  
 System.Windows.Forms.TreeNode "treeNode"+bume[i].ToString() = new System.Windows.Forms.TreeNode("节点0");

[解决办法]
不支持"treeNode"+bume[i]这种声明
[解决办法]
好高端....
[解决办法]
System.Windows.Forms.TreeNode treeNode = new System.Windows.Forms.TreeNode;
只能这样吧
[解决办法]
你想这样的话用dictionary去做吧

热点排行