mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-24 17:30:30 +08:00
49 lines
927 B
C#
49 lines
927 B
C#
using System.Drawing;
|
|
|
|
namespace Cyotek.Windows.Forms.Demo
|
|
{
|
|
// Cyotek ImageBox
|
|
// Copyright (c) 2010-2015 Cyotek Ltd.
|
|
// http://cyotek.com
|
|
// http://cyotek.com/blog/tag/imagebox
|
|
|
|
// Licensed under the MIT License. See license.txt for the full text.
|
|
|
|
// If you use this control in your applications, attribution, donations or contributions are welcome.
|
|
|
|
internal sealed class DragHandle
|
|
{
|
|
#region Public Constructors
|
|
|
|
public DragHandle(DragHandleAnchor anchor)
|
|
: this()
|
|
{
|
|
this.Anchor = anchor;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Protected Constructors
|
|
|
|
private DragHandle()
|
|
{
|
|
this.Enabled = true;
|
|
this.Visible = true;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
public DragHandleAnchor Anchor { get; set; }
|
|
|
|
public Rectangle Bounds { get; set; }
|
|
|
|
public bool Enabled { get; set; }
|
|
|
|
public bool Visible { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|