mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
3a9a6e8305
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4764 21ef857c-d57f-4fe0-8362-d861dc6d29cd
29 lines
694 B
C#
29 lines
694 B
C#
using System.Windows.Forms;
|
|
|
|
namespace Aga.Controls.Tree
|
|
{
|
|
internal abstract class InputState
|
|
{
|
|
public TreeViewAdv Tree { get; private set; }
|
|
|
|
protected InputState(TreeViewAdv tree)
|
|
{
|
|
this.Tree = tree;
|
|
}
|
|
|
|
public abstract void KeyDown(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;
|
|
}
|
|
}
|
|
}
|