first commit

This commit is contained in:
2025-04-07 07:44:27 -07:00
commit d6cde0c05e
512 changed files with 142392 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Aga.Controls.Tree
{
internal class InputWithControl: NormalInputState
{
public InputWithControl(TreeViewAdv tree): base(tree)
{
}
protected override void DoMouseOperation(TreeNodeAdvMouseEventArgs args)
{
if (Tree.SelectionMode == TreeSelectionMode.Single)
{
base.DoMouseOperation(args);
}
else if (CanSelect(args.Node))
{
args.Node.IsSelected = !args.Node.IsSelected;
Tree.SelectionStart = args.Node;
}
}
protected override void MouseDownAtEmptySpace(TreeNodeAdvMouseEventArgs args)
{
}
}
}