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.Windows.Forms;
6 using Aga.Controls.Tree.NodeControls;
8 namespace Aga.Controls.Tree
10 public class TreeNodeAdvMouseEventArgs : MouseEventArgs
12 private TreeNodeAdv _node;
13 public TreeNodeAdv Node
16 internal set { _node = value; }
19 private NodeControl _control;
20 public NodeControl Control
22 get { return _control; }
23 internal set { _control = value; }
26 private Point _viewLocation;
27 public Point ViewLocation
29 get { return _viewLocation; }
30 internal set { _viewLocation = value; }
33 private Keys _modifierKeys;
34 public Keys ModifierKeys
36 get { return _modifierKeys; }
37 internal set { _modifierKeys = value; }
40 private bool _handled;
43 get { return _handled; }
44 set { _handled = value; }
47 private Rectangle _controlBounds;
48 public Rectangle ControlBounds
50 get { return _controlBounds; }
51 internal set { _controlBounds = value; }
54 public TreeNodeAdvMouseEventArgs(MouseEventArgs args)
55 : base(args.Button, args.Clicks, args.X, args.Y, args.Delta)