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,37 @@
using System;
using System.Windows.Forms;
namespace Aga.Controls.Tree
{
internal abstract class InputState
{
private TreeViewAdv _tree;
public TreeViewAdv Tree
{
get { return _tree; }
}
public InputState(TreeViewAdv tree)
{
_tree = tree;
}
public abstract void KeyDown(System.Windows.Forms.KeyEventArgs args);
public abstract void MouseDown(TreeNodeAdvMouseEventArgs args);
public abstract void MouseUp(TreeNodeAdvMouseEventArgs args);
/// <summary>
/// handle OnMouseMove event
/// </summary>
/// <param name="args"></param>
/// <returns>true if event was handled and should be dispatched</returns>
public virtual bool MouseMove(MouseEventArgs args)
{
return false;
}
public virtual void MouseDoubleClick(TreeNodeAdvMouseEventArgs args)
{
}
}
}