|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
namespace GeoSigmaViewer
|
|
|
|
|
|
{
|
|
|
|
|
|
public class DrawCursors
|
|
|
|
|
|
{
|
|
|
|
|
|
//public static Cursor Pencil
|
|
|
|
|
|
//{
|
|
|
|
|
|
// get
|
|
|
|
|
|
// {
|
|
|
|
|
|
// return CursorResourceLoader.LoadEmbeddedCursor(Resource1.Pencil);
|
|
|
|
|
|
// }
|
|
|
|
|
|
//}
|
|
|
|
|
|
public static Cursor Default
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curDefault);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Select
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curSelect);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor ViewWindow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.viewWindow);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Pan
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curPan);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Pan1
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curPan1);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Line
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.Line);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Ellipse
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.Ellipse);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Rectangle
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.Rectangle);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor PolyHandle
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.PolyHandle);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Pencil
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.Pencil);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor CurveDraw
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curCurve);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor CurveMovePoint
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curMoveHandle);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor CurveMove
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curMove4Way);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor HArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curHArrow);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor VArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curVArrow);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor LBArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curLBArrow);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor RBArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curRBArrow);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static Cursor RotationArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curRotate);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static Cursor HShearArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curShearHor);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor VShearArrow
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curShearVert);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Range
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curRange);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor BreakCurve
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curBreakCurve);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor SelectElement
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curSelectElement);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static Cursor Delete
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return CursorResourceLoader.LoadEmbeddedCursor(Resource1.curDelete);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|