You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
namespace GeoSigmaViewer
|
|
|
|
|
|
{
|
|
|
|
|
|
public class DrawToolDefault : DrawTool
|
|
|
|
|
|
{
|
|
|
|
|
|
public DrawToolDefault()
|
|
|
|
|
|
{
|
|
|
|
|
|
ToolCursor=DrawCursors.Default;
|
|
|
|
|
|
ItemType=DrawItemType.ITEM_DEFAULT;
|
|
|
|
|
|
}
|
|
|
|
|
|
public override void OnMouseClick(Drawer drawArea, MouseEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnMouseClick(drawArea, e);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override void OnLButtonDown(Drawer drawArea, MouseEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnLButtonDown(drawArea, e);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override void OnMouseMove(Drawer drawArea, MouseEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
drawArea.Cursor=ToolCursor;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override void OnLButtonUp(Drawer drawArea, MouseEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnLButtonUp(drawArea, e);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|