From: jpbruyere Date: Fri, 28 Apr 2017 10:20:39 +0000 (+0200) Subject: add CrowIDE in progress to master X-Git-Tag: v0.9.5-beta~222 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=7d1927cd5988f8ef75589c333d929ee732711108;p=jp%2Fcrow.git add CrowIDE in progress to master --- diff --git a/Crow.sln b/Crow.sln index 83e55eb5..ba1b6741 100644 --- a/Crow.sln +++ b/Crow.sln @@ -5,6 +5,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crow", "Crow.csproj", "{C29 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{74289092-9F70-4941-AFCB-DFD7BE2140B6}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CrowIDE", "CrowIDE\CrowIDE.csproj", "{B6D911CD-1D09-42FC-B300-9187190F2AE1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Debug|Any CPU.Build.0 = Debug|Any CPU {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Any CPU.ActiveCfg = Release|Any CPU {74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Any CPU.Build.0 = Release|Any CPU + {B6D911CD-1D09-42FC-B300-9187190F2AE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B6D911CD-1D09-42FC-B300-9187190F2AE1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B6D911CD-1D09-42FC-B300-9187190F2AE1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B6D911CD-1D09-42FC-B300-9187190F2AE1}.Release|Any CPU.Build.0 = Release|Any CPU {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Any CPU.Build.0 = Debug|Any CPU {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/src/ItemTemplate.cs b/src/ItemTemplate.cs index ea029ae4..53619042 100644 --- a/src/ItemTemplate.cs +++ b/src/ItemTemplate.cs @@ -37,9 +37,13 @@ using System.Linq; namespace Crow { + /// Test func on data, return yes if there's children public delegate bool BooleanTestOnInstance(object instance); - public class ItemTemplate : Instantiator { + /// + /// Derived from Instantiator with sub data fetching facilities for hierarchical data access. + /// + public class ItemTemplate : Instantiator { public EventHandler Expand; public BooleanTestOnInstance HasSubItems; string strDataType;