Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
2 using System.Collections.Generic;
5 using System.Windows.Forms;
6 using System.Reflection;
7 using System.ComponentModel;
9 namespace Aga.Controls.Tree.NodeControls
11 public class NodeDecimalTextBox : NodeTextBox
13 private bool _allowDecimalSeparator = true;
15 public bool AllowDecimalSeparator
17 get { return _allowDecimalSeparator; }
18 set { _allowDecimalSeparator = value; }
21 private bool _allowNegativeSign = true;
23 public bool AllowNegativeSign
25 get { return _allowNegativeSign; }
26 set { _allowNegativeSign = value; }
29 protected NodeDecimalTextBox()
33 protected override TextBox CreateTextBox()
35 NumericTextBox textBox = new NumericTextBox();
36 textBox.AllowDecimalSeparator = AllowDecimalSeparator;
37 textBox.AllowNegativeSign = AllowNegativeSign;
41 protected override void DoApplyChanges(TreeNodeAdv node, Control editor)
43 SetValue(node, (editor as NumericTextBox).DecimalValue);