资源简介
c#控件,带列的树控件,可以显示多列,保留树形结构。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace CommonTools
{
public class FloatComboBox : NameobjectComboBox
{
}
public class NameobjectComboBox : System.Windows.Forms.ComboBox
{
CommonTools.NameobjectCollection m_items = new CommonTools.NameobjectCollection();
public new CommonTools.NameobjectCollection Items
{
get { return m_items; }
set
{
m_items = value;
DataSource = m_items;
}
}
public new CommonTools.Nameobject SelectedItem
{
get { return base.SelectedItem as CommonTools.Nameobject; }
set { base.SelectedItem = value; }
}
public NameobjectComboBox()
{
DisplayMember = “Name“;
ValueMember = “object“;
}
protected override void OnLeave(EventArgs e)
{
if (DataBindings.Count > 0)
DataBindings[0].WriteValue();
base.OnLeave(e);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-02-19 21:15 TreeTestApp\Docs\
目录 0 2008-02-19 21:18 TreeTestApp\TreeTestApp\
目录 0 2008-02-19 21:17 TreeTestApp\TreeTestApp\bin\
目录 0 2008-02-19 21:17 TreeTestApp\TreeTestApp\bin\Release\
文件 131072 2008-02-19 21:16 TreeTestApp\TreeTestApp\bin\Release\CommonTools.dll
文件 45056 2008-02-19 21:16 TreeTestApp\TreeTestApp\bin\Release\TreeTestApp.exe
文件 3894 2008-02-05 07:00 TreeTestApp\TreeTestApp\bitmapstrip.bmp
文件 12653 2008-02-16 19:14 TreeTestApp\TreeTestApp\FolderView.cs
文件 3360 2008-02-06 20:17 TreeTestApp\TreeTestApp\FolderView.Designer.cs
文件 5814 2008-02-06 20:22 TreeTestApp\TreeTestApp\FolderView.resx
文件 905 2008-02-16 12:23 TreeTestApp\TreeTestApp\Form1.cs
文件 5014 2008-02-16 12:23 TreeTestApp\TreeTestApp\Form1.Designer.cs
文件 6184 2008-02-16 12:23 TreeTestApp\TreeTestApp\Form1.resx
文件 300 2008-02-17 07:31 TreeTestApp\TreeTestApp\Form2.cs
文件 1744 2008-02-17 07:31 TreeTestApp\TreeTestApp\Form2.Designer.cs
文件 5814 2008-02-17 07:31 TreeTestApp\TreeTestApp\Form2.resx
文件 591 2008-02-05 07:00 TreeTestApp\TreeTestApp\Program.cs
目录 0 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\
文件 1270 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\AssemblyInfo.cs
文件 2503 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\Resources.Designer.cs
文件 5612 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\Resources.resx
文件 1018 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\Settings.Designer.cs
文件 249 2008-02-05 07:00 TreeTestApp\TreeTestApp\Properties\Settings.settings
文件 2567 2008-02-16 19:13 TreeTestApp\TreeTestApp\TestTree.cs
文件 5526 2008-02-16 19:14 TreeTestApp\TreeTestApp\TestTreeForm.cs
文件 5509 2008-02-16 08:10 TreeTestApp\TreeTestApp\TestTreeForm.Designer.cs
文件 5814 2008-02-16 08:10 TreeTestApp\TreeTestApp\TestTreeForm.resx
文件 5306 2008-02-17 07:49 TreeTestApp\TreeTestApp\TreeTestApp.csproj
文件 1915 2008-02-17 08:03 TreeTestApp\TreeTestApp\TreeTestAutoSize.cs
文件 3437 2008-02-17 07:49 TreeTestApp\TreeTestApp\TreeTestAutoSize.Designer.cs
文件 5814 2008-02-17 07:49 TreeTestApp\TreeTestApp\TreeTestAutoSize.resx
............此处省略55个文件信息
- 上一篇:WPF PDF封装(放大、缩小、单页、双页)
- 下一篇:C# 定时提醒器
相关资源
-
winfrom中TreeView控件xm
l与树之间相互 - windorm 加载WPF控件 ,实现dxf文件显示
- 自定义水晶按钮控件59079
- WPF控件库(HandyControl)
- C# 进度条控件使用
- C# 动态 时钟用户控件(基于System.Dr
- 重写winfrom UI控件
- 树形列表动态显示菜单
- C#联合halcon实现鼠标滚轮事件
- listView可修改控件
- window窗体+窗体控件
- 四叉树算法(KrigingCal)
- PDF文件 阅读控件 (VeryPDF PDFView OCX)
- C#自定义控件案例--美化GroupBox.rar
- C# 使用GDI+绘制漂亮的ToolTip控件
- c#下拉列表树形菜单,带伸缩节点
- C#动画控件超炫
- WeifenLuo.WinFormsUI.Docking3.1.0
- C#自定义可限制输入、可验证信息的
- C#中WebBrowser控件的简单调用
- IP地址控件C#版
- C#版本气泡自定义控件,引用即可使用
- 一个C#的Chart控件
- C#chart控件画3D柱状、折线图
- 控件重绘 C# WinForm控件美化扩展系列之
- .net winform插件大全 .net 控件大全.net插
- C#界面美化 (最好用的免费的第三方
- (VB.NET)WinForm自定义DataGridView分页组
- C#编写ActiveX控件(纯接口,无界面)
- # 系统应用之TreeView控件显示树状磁盘
评论
共有 条评论