C#实现treeview节点三种选择状态

上传者: zhushuaibing | 上传时间: 2022-04-10 11:25:28 | 文件大小: 76KB | 文件类型: RAR
C# 实现treeview节点的三种选择状态,相比微软提供的checkbox控件的两种选择状态,该实例多了子节点部分选中,父节点实现半选状态

文件下载

资源详情

[{"title":"( 45 个子文件 76KB ) C#实现treeview节点三种选择状态","children":[{"title":"TreeView半选","children":[{"title":"TreeView","children":[{"title":"_UpgradeReport_Files","children":[{"title":"UpgradeReport.xslt <span style='color:#111;'> 12.21KB </span>","children":null,"spread":false},{"title":"UpgradeReport_Plus.gif <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"UpgradeReport.css <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"UpgradeReport_Minus.gif <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true},{"title":"TreeView.suo <span style='color:#111;'> 22.00KB </span>","children":null,"spread":false},{"title":"Backup","children":[{"title":"TreeView.suo <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"TreeView","children":[{"title":"Form1.cs <span style='color:#111;'> 8.03KB </span>","children":null,"spread":false},{"title":"TreeView.csproj <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"TreeView.sln <span style='color:#111;'> 914B </span>","children":null,"spread":false}],"spread":true},{"title":"UpgradeLog.XML <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false},{"title":"TreeView","children":[{"title":"Form1.cs <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"未选中.jpg <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"部分选中.jpg <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"TreeView.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"选中.jpg <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"TreeView.vshost.exe <span style='color:#111;'> 11.34KB </span>","children":null,"spread":false},{"title":"TreeView.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"TreeView.csproj <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TreeView.Form1.resources <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"TreeView.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.write.1.tlog <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.read.1.tlog <span style='color:#111;'> 710B </span>","children":null,"spread":false},{"title":"TreeView.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"TreeView.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"TreeView.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"TreeView.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 10.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"TreeView.sln <span style='color:#111;'> 914B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • wshyw200 :
    资源还行吧
    2018-03-29
  • silence_of_yun :
    打不开,加载失败
    2018-01-16
  • goddices :
    下载下来学习一下
    2017-08-25
  • l2008l :
    挺不错的 提供了很好的思路 不过代码还是可以优化一下
    2017-06-30
  • chengzi6626 :
    思路不错,但直接编译后效果不对,需要修改一下
    2015-09-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明