Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
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);