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.ComponentModel;
5 using System.Windows.Forms;
7 namespace Aga.Controls.Tree.NodeControls
10 public class NodeIntegerTextBox : NodeTextBox
12 private bool _allowNegativeSign = true;
14 public bool AllowNegativeSign
16 get { return _allowNegativeSign; }
17 set { _allowNegativeSign = value; }
20 public NodeIntegerTextBox()
24 protected override TextBox CreateTextBox()
26 NumericTextBox textBox = new NumericTextBox();
27 textBox.AllowDecimalSeparator = false;
28 textBox.AllowNegativeSign = AllowNegativeSign;
32 protected override void DoApplyChanges(TreeNodeAdv node, Control editor)
34 SetValue(node, (editor as NumericTextBox).IntValue);