C# Class TpTrayUtility.Components.Box

Inheritance: Primitive
Afficher le fichier Open project: TargetProcess/Tp.TrayUtility Class Usage Examples

Méthodes publiques

Свойство Type Description
borderColor Color
borderColorGlobal Color
borderSize int
borderSizeGlobal int

Méthodes publiques

Méthode Description
Box ( ) : System
CanUndo ( ) : bool
CreationMouseDownHandler ( PointF point ) : void
CreationMouseMoveHandler ( PointF point ) : void
CreationMouseUpHandler ( PointF point ) : void
Draw ( Graphics g, float zoom, PointF offset, PointF zoomPosition ) : void
EditFinishing ( object sender, EventArgs e ) : void
GeneratePropertyControl ( ) : PropertyControlBase
GetCursor ( PointF point ) : Cursor
MouseDoubleClickHandler ( PointF point ) : void
MoveBy ( float dx, float dy ) : void
OnResize ( bool lastMove ) : void
SetColor ( Color fore, Color back ) : void
ShapeToolLost ( ) : void
SpecialPoints ( ) : List
UpdatePropertyFromStaticData ( ) : void
UpdateSpecialPoint ( int id, PointF position ) : void
isPointIn ( PointF point ) : bool
isResizeble ( ) : bool
isValid ( ) : bool

Private Methods

Méthode Description
Distance ( Point p1, Point p2 ) : double
SwitchToEdit ( ) : void
SwitchToView ( ) : void
UpdateTextControlSize ( ) : void

Method Details

Box() public méthode

public Box ( ) : System
Résultat System

CanUndo() public méthode

public CanUndo ( ) : bool
Résultat bool

CreationMouseDownHandler() public méthode

public CreationMouseDownHandler ( PointF point ) : void
point System.Drawing.PointF
Résultat void

CreationMouseMoveHandler() public méthode

public CreationMouseMoveHandler ( PointF point ) : void
point System.Drawing.PointF
Résultat void

CreationMouseUpHandler() public méthode

public CreationMouseUpHandler ( PointF point ) : void
point System.Drawing.PointF
Résultat void

Draw() public méthode

public Draw ( Graphics g, float zoom, PointF offset, PointF zoomPosition ) : void
g System.Drawing.Graphics
zoom float
offset System.Drawing.PointF
zoomPosition System.Drawing.PointF
Résultat void

EditFinishing() public méthode

public EditFinishing ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

GeneratePropertyControl() public méthode

public GeneratePropertyControl ( ) : PropertyControlBase
Résultat PropertyControlBase

GetCursor() public méthode

public GetCursor ( PointF point ) : Cursor
point System.Drawing.PointF
Résultat System.Windows.Forms.Cursor

MouseDoubleClickHandler() public méthode

public MouseDoubleClickHandler ( PointF point ) : void
point System.Drawing.PointF
Résultat void

MoveBy() public méthode

public MoveBy ( float dx, float dy ) : void
dx float
dy float
Résultat void

OnResize() public méthode

public OnResize ( bool lastMove ) : void
lastMove bool
Résultat void

SetColor() public méthode

public SetColor ( Color fore, Color back ) : void
fore Color
back Color
Résultat void

ShapeToolLost() public méthode

public ShapeToolLost ( ) : void
Résultat void

SpecialPoints() public méthode

public SpecialPoints ( ) : List
Résultat List

UpdatePropertyFromStaticData() public méthode

public UpdatePropertyFromStaticData ( ) : void
Résultat void

UpdateSpecialPoint() public méthode

public UpdateSpecialPoint ( int id, PointF position ) : void
id int
position System.Drawing.PointF
Résultat void

isPointIn() public méthode

public isPointIn ( PointF point ) : bool
point System.Drawing.PointF
Résultat bool

isResizeble() public méthode

public isResizeble ( ) : bool
Résultat bool

isValid() public méthode

public isValid ( ) : bool
Résultat bool

Property Details

borderColor public_oe property

public Color borderColor
Résultat Color

borderColorGlobal public_oe static_oe property

public static Color borderColorGlobal
Résultat Color

borderSize public_oe property

public int borderSize
Résultat int

borderSizeGlobal public_oe static_oe property

public static int borderSizeGlobal
Résultat int