SharpDisplay: Migrating to new robust client scheme.
2 using System.Collections.Generic;
5 namespace Aga.Controls.Tree
7 internal class InputWithControl: NormalInputState
9 public InputWithControl(TreeViewAdv tree): base(tree)
13 protected override void DoMouseOperation(TreeNodeAdvMouseEventArgs args)
15 if (Tree.SelectionMode == TreeSelectionMode.Single)
17 base.DoMouseOperation(args);
19 else if (CanSelect(args.Node))
21 args.Node.IsSelected = !args.Node.IsSelected;
22 Tree.SelectionStart = args.Node;
26 protected override void MouseDownAtEmptySpace(TreeNodeAdvMouseEventArgs args)