Added mainboard specific configurations for the following Gigabyte mainboards: EX58-UD3R, G41M-Combo, G41MT-S2, G41MT-S2P, GA-MA770T-UD3P, GA-MA785GM-US2H, GA-MA78LM-S2H, GA-MA790X-UD3P, H55-USB3, H55N-USB3, H61M-DS2 REV 1.2, H61M-USB3-B3 REV 2.0, H67A-USB3-B3, P55A-UD3, P67A-UD3-B3, P67A-UD3R-B3, Z68A-D3H-B3, Z68AP-D3, Z68X-UD3H-B3.
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);