first commit
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user