Now calling display init. Not getting the expected error code though.
2 using System.Collections.Generic;
5 namespace Aga.Controls.Tree
7 public abstract class TreeModelBase: ITreeModel
9 public abstract System.Collections.IEnumerable GetChildren(TreePath treePath);
10 public abstract bool IsLeaf(TreePath treePath);
13 public event EventHandler<TreeModelEventArgs> NodesChanged;
14 protected void OnNodesChanged(TreeModelEventArgs args)
16 if (NodesChanged != null)
17 NodesChanged(this, args);
20 public event EventHandler<TreePathEventArgs> StructureChanged;
21 protected void OnStructureChanged(TreePathEventArgs args)
23 if (StructureChanged != null)
24 StructureChanged(this, args);
27 public event EventHandler<TreeModelEventArgs> NodesInserted;
28 protected void OnNodesInserted(TreeModelEventArgs args)
30 if (NodesInserted != null)
31 NodesInserted(this, args);
34 public event EventHandler<TreeModelEventArgs> NodesRemoved;
35 protected void OnNodesRemoved(TreeModelEventArgs args)
37 if (NodesRemoved != null)
38 NodesRemoved(this, args);
41 public virtual void Refresh()
43 OnStructureChanged(new TreePathEventArgs(TreePath.Empty));