Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown.
2 using System.Collections.Generic;
4 using System.Collections;
6 namespace Aga.Controls.Tree
8 public class ListModel : TreeModelBase
14 get { return _list.Count; }
19 _list = new List<object>();
22 public ListModel(IList list)
27 public override IEnumerable GetChildren(TreePath treePath)
32 public override bool IsLeaf(TreePath treePath)
37 public void AddRange(IEnumerable items)
39 foreach (object obj in items)
41 OnStructureChanged(new TreePathEventArgs(TreePath.Empty));
44 public void Add(object item)
47 OnNodesInserted(new TreeModelEventArgs(TreePath.Empty, new int[] { _list.Count - 1 }, new object[] { item }));
53 OnStructureChanged(new TreePathEventArgs(TreePath.Empty));