Download Cyotek.Windows.Forms.ImageBox.zip version 1.1.4.2, last updated 13/02/2014 (1.62 MB)

Download
  • md5: eafe88cd279eec36bc79f6409f0fc49d
using System.Drawing;

namespace Cyotek.Windows.Forms.Demo
{
  // Cyotek ImageBox
  // Copyright (c) 2010-2014 Cyotek.
  // http://cyotek.com
  // http://cyotek.com/blog/tag/imagebox

  // Licensed under the MIT License. See imagebox-license.txt for the full text.

  // If you use this control in your applications, attribution, donations or contributions are welcome.

  internal class DragHandle
  {
    #region Public Constructors

    public DragHandle(DragHandleAnchor anchor)
      : this()
    {
      this.Anchor = anchor;
    }

    #endregion

    #region Protected Constructors

    protected DragHandle()
    {
      this.Enabled = true;
      this.Visible = true;
    }

    #endregion

    #region Public Properties

    public DragHandleAnchor Anchor { get; protected set; }

    public Rectangle Bounds { get; set; }

    public bool Enabled { get; set; }

    public bool Visible { get; set; }

    #endregion
  }
}

Donate

Donate