mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
b02427417c
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5614 21ef857c-d57f-4fe0-8362-d861dc6d29cd
34 lines
761 B
C#
34 lines
761 B
C#
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;
|
|
}
|
|
}
|
|
}
|