资源简介

DevExpress之TreeList使用示例:主要演示了DevExpress深层复杂类型绑定,

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using TreeListDemo.Model;
using TreeListDemo.BLL;

namespace TreeListDemo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            Init();
        }

        private void Init()
        {
            List list = new MenuService().GetMenus();
            this.treeList1.DataSource = list;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      24576  2013-01-18 09:59  TreeListDemo\bin\Debug\TreeListDemo.exe

     文件      38400  2013-01-18 09:59  TreeListDemo\bin\Debug\TreeListDemo.pdb

     文件       5632  2005-12-08 14:51  TreeListDemo\bin\Debug\TreeListDemo.vshost.exe

     文件        661  2013-01-18 09:59  TreeListDemo\Form1.cs

     文件       2557  2013-01-18 09:59  TreeListDemo\Form1.Designer.cs

     文件       8375  2013-01-18 09:59  TreeListDemo\Form1.resx

     文件       3605  2013-01-18 09:59  TreeListDemo\Model\MenuModel.cs

     文件      22893  2013-01-17 16:55  TreeListDemo\obj\Debug\ResolveAssemblyReference.cache

     文件        842  2013-01-18 09:59  TreeListDemo\obj\Debug\TreeListDemo.csproj.GenerateResource.Cache

     文件      24576  2013-01-18 09:59  TreeListDemo\obj\Debug\TreeListDemo.exe

     文件        421  2013-01-18 09:59  TreeListDemo\obj\Debug\treelistdemo.exe.licenses

     文件       2411  2013-01-18 09:59  TreeListDemo\obj\Debug\TreeListDemo.Form1.resources

     文件      38400  2013-01-18 09:59  TreeListDemo\obj\Debug\TreeListDemo.pdb

     文件        180  2013-01-17 16:55  TreeListDemo\obj\Debug\TreeListDemo.Properties.Resources.resources

     文件        808  2013-01-18 09:59  TreeListDemo\obj\TreeListDemo.csproj.FileListAbsolute.txt

     文件        471  2013-01-17 16:20  TreeListDemo\Program.cs

     文件       1172  2013-01-17 16:20  TreeListDemo\Properties\AssemblyInfo.cs

     文件        133  2013-01-18 09:59  TreeListDemo\Properties\licenses.licx

     文件       2880  2013-01-17 16:20  TreeListDemo\Properties\Resources.Designer.cs

     文件       5612  2013-01-17 16:20  TreeListDemo\Properties\Resources.resx

     文件       1097  2013-01-17 16:20  TreeListDemo\Properties\Settings.Designer.cs

     文件        249  2013-01-17 16:20  TreeListDemo\Properties\Settings.settings

     文件       4819  2013-01-18 09:37  TreeListDemo\Service\MenuService.cs

     文件       3880  2013-01-17 16:55  TreeListDemo\TreeListDemo.csproj

     目录          0  2013-01-18 10:13  TreeListDemo\obj\Debug\TempPE

     目录          0  2013-01-18 10:13  TreeListDemo\bin\Debug

     目录          0  2013-01-18 10:13  TreeListDemo\obj\Debug

     目录          0  2013-01-18 10:13  TreeListDemo\bin

     目录          0  2013-01-18 10:13  TreeListDemo\Model

     目录          0  2013-01-18 10:13  TreeListDemo\obj

............此处省略6个文件信息

评论

共有 条评论